1
0
Fork 1
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:
Marc Zinnschlag 2010-07-05 13:21:08 +02:00
parent 3df5d377f2
commit b28a6fd7b8

View file

@ -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;