mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 03:54:40 +00:00
Allow comma after Begin and End script instruction (Fixes #4451)
This commit is contained in:
parent
3af003d36b
commit
816a1733dc
@ -119,6 +119,11 @@ namespace Compiler
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (code==Scanner::S_comma && (mState==NameState || mState==EndNameState))
|
||||
{
|
||||
// ignoring comma (for now)
|
||||
return true;
|
||||
}
|
||||
|
||||
return Parser::parseSpecial (code, loc, scanner);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user