tagmanager: Fix handling of scopes starting with a non-ASCII character
commitb2879e9fca00f544105029b45974bd808cbb9b7b
authorColomban Wendling <ban@herbesfolles.org>
Mon, 12 Oct 2015 17:20:02 +0000 (12 19:20 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 12 Oct 2015 17:20:02 +0000 (12 19:20 +0200)
tree11273ea3a970e699f2f614ea2af67869698cc0ab
parent152103392c04827a38e9486e3b55888effbb5372
tagmanager: Fix handling of scopes starting with a non-ASCII character

Fix handling of scopes starting with a non-ASCII character.

Actually, just drop the check on the first byte of the scope, as it
doesn't seem to serve any purpose as it only checks the first byte (so
isn't any kind of real validation; and as it predates Geany it's
impossible to know the real reason behind this check), and breaks
support for non-ASCII scopes.
tagmanager/src/tm_tag.c
tests/ctags/Makefile.am
tests/ctags/non-ascii-ident1.php [new file with mode: 0644]
tests/ctags/non-ascii-ident1.php.tags [new file with mode: 0644]