forked from teamnwah/openmw-tes3coop
Merge branch 'brokenendfix'
This commit is contained in:
commit
a535d51cbf
1 changed files with 4 additions and 1 deletions
|
@ -45,7 +45,10 @@ namespace Compiler
|
|||
reportWarning ("Names for script " + mName + " do not match", loc);
|
||||
|
||||
mState = EndCompleteState;
|
||||
return true;
|
||||
return false; // we are stopping here, because there might be more garbage on the end line,
|
||||
// that we must ignore.
|
||||
//
|
||||
/// \todo allow this workaround to be disabled for newer scripts
|
||||
}
|
||||
|
||||
return Parser::parseName (name, loc, scanner);
|
||||
|
|
Loading…
Reference in a new issue