stop search for function body at the end of the string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4422 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d0aa60ffcc
commit
b401625783
1 changed files with 3 additions and 1 deletions
|
@ -245,7 +245,9 @@ void PlaceFunction(char *&vb, char *&sp, ParseInfo *pi, int redefine)
|
|||
}
|
||||
|
||||
// find nearest round bracket - function body
|
||||
while (*sp != '(') sp++;
|
||||
while (*sp != '(' && *sp) sp++;
|
||||
if (!*sp)
|
||||
return;
|
||||
sp++;
|
||||
|
||||
// now we are ready to parse function body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue