From 29e8752fcaa461dbb273a93b37a84ffb7dc93e7d Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 28 Jun 2016 08:32:05 +0200 Subject: DIRECTOR: Lingo: Parse continuation arguments in macros --- engines/director/director.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/director/director.cpp') diff --git a/engines/director/director.cpp b/engines/director/director.cpp index 2c8441d1d9..036a341dbb 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -78,6 +78,7 @@ Common::Error DirectorEngine::run() { #if 0 _lingo->addCode("--\n\ macro check par1, par2\n\ +, par3\n\ if par1 = 3 then\n\ put -3\n\ else\n\ @@ -90,9 +91,10 @@ else\n\ end if\n\ put par1\n\ put par2\n\ +put par3\n\ ", kMovieScript, 5); -_lingo->addCode("check(3, 2)\n\ +_lingo->addCode("check(1, 2, 3)\n\ ", kMovieScript, 2); _lingo->executeScript(kMovieScript, 2); -- cgit v1.2.3