Fix wrong parsing of complex expressions in the Lua parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3909 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
1766302cd3
commit
496d100b13
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* src/build.c:
|
* src/build.c:
|
||||||
Fix warnings when the toolbar does not contain the Run button.
|
Fix warnings when the toolbar does not contain the Run button.
|
||||||
|
* tagmanager/lua.c:
|
||||||
|
Fix wrong parsing of complex expressions in the Lua parser.
|
||||||
|
|
||||||
|
|
||||||
2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -110,7 +110,7 @@ static void findLuaTags (void)
|
|||||||
p = p + 9; /* skip the `function' word */
|
p = p + 9; /* skip the `function' word */
|
||||||
q = strchr ((const char*) p, '(');
|
q = strchr ((const char*) p, '(');
|
||||||
extract_name (p, q, name);
|
extract_name (p, q, name);
|
||||||
} else {
|
} else if (*(q+1) != '=') { /* ignore `if type(v) == "function" then ...' */
|
||||||
p = (const char*) &line[0];
|
p = (const char*) &line[0];
|
||||||
extract_name (p, q, name);
|
extract_name (p, q, name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user