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:
Enrico Tröger 2009-07-04 09:17:32 +00:00
parent 1766302cd3
commit 496d100b13
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* src/build.c:
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>

View File

@ -110,7 +110,7 @@ static void findLuaTags (void)
p = p + 9; /* skip the `function' word */
q = strchr ((const char*) p, '(');
extract_name (p, q, name);
} else {
} else if (*(q+1) != '=') { /* ignore `if type(v) == "function" then ...' */
p = (const char*) &line[0];
extract_name (p, q, name);
}