JavaScript parser: properly consume closing brace after a block in findCmdTerm()
This commit is contained in:
parent
74890cc308
commit
205bab83d7
@ -590,6 +590,7 @@ static void findCmdTerm (tokenInfo *const token)
|
||||
if ( isType (token, TOKEN_OPEN_CURLY))
|
||||
{
|
||||
parseBlock (token, token);
|
||||
readToken (token);
|
||||
}
|
||||
else if ( isType (token, TOKEN_OPEN_PAREN) )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user