Skip to content

Commit

Permalink
Autoit: drop $ from variable names
Browse files Browse the repository at this point in the history
This patch has been upstreamed in

universal-ctags/ctags#3697
  • Loading branch information
techee committed Oct 2, 2023
1 parent d10dc19 commit 94a02c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ctags/parsers/autoit.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static void findAutoItTags (void)
skipSpaces (&p);
if (*p == '$')
{
vStringPut (name, (int) *p++);
p++;
while (isIdentChar ((int) *p))
{
vStringPut (name, (int) *p);
Expand Down
12 changes: 6 additions & 6 deletions tests/ctags/simple.au3.tags
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
$iDoubled�16384�0
variable: $iDoubled
$iMagic�16384�0
variable: $iMagic
$iNumber�16384�0
variable: $iNumber
All functions�524288�0
other: All functions
MyDouble�16�($iValue)�All functions�0
Expand All @@ -12,3 +6,9 @@ MyDouble0
function: All functions :: MyDouble0($iValue)
MyDouble1�16�($iValue)�All functions�0
function: All functions :: MyDouble1($iValue)
iDoubled�16384�0
variable: iDoubled
iMagic�16384�0
variable: iMagic
iNumber�16384�0
variable: iNumber

0 comments on commit 94a02c6

Please sign in to comment.