mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 23:53:52 +00:00
modified parser to skip over button arguments in an messagebox instruction
This commit is contained in:
parent
3df5d377f2
commit
b28a6fd7b8
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@ namespace Compiler
|
||||||
mExprParser.parseArguments (arguments, scanner, mCode, true);
|
mExprParser.parseArguments (arguments, scanner, mCode, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// for now skip buttons
|
||||||
|
SkipParser skip (getErrorHandler(), getContext());
|
||||||
|
scanner.scan (skip);
|
||||||
|
|
||||||
Generator::message (mCode, mLiterals, name, 0);
|
Generator::message (mCode, mLiterals, name, 0);
|
||||||
mState = EndState;
|
mState = EndState;
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue