From b28a6fd7b88744f7248942c53d923918697a2dd2 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Mon, 5 Jul 2010 13:21:08 +0200 Subject: [PATCH] modified parser to skip over button arguments in an messagebox instruction --- components/compiler/lineparser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/compiler/lineparser.cpp b/components/compiler/lineparser.cpp index 8ce37b414..5a254a804 100644 --- a/components/compiler/lineparser.cpp +++ b/components/compiler/lineparser.cpp @@ -119,6 +119,10 @@ namespace Compiler mExprParser.reset(); mExprParser.parseArguments (arguments, scanner, mCode, true); } + + // for now skip buttons + SkipParser skip (getErrorHandler(), getContext()); + scanner.scan (skip); Generator::message (mCode, mLiterals, name, 0); mState = EndState;