diff options
author | Eugene Sandulenko | 2016-08-07 22:27:47 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-07 22:32:59 +0200 |
commit | 0b244412e302bf5366327ac3ce4ee265b053a9da (patch) | |
tree | a29293cbbb35156329445e313bc2a8d4ccb9fafa /engines/director/lingo/lingo-lex.l | |
parent | 8b5a6adfa81d0c1f2cb44497077e7ee99a2f6943 (diff) | |
download | scummvm-rg350-0b244412e302bf5366327ac3ce4ee265b053a9da.tar.gz scummvm-rg350-0b244412e302bf5366327ac3ce4ee265b053a9da.tar.bz2 scummvm-rg350-0b244412e302bf5366327ac3ce4ee265b053a9da.zip |
DIRECTOR: Lingo: Added stub for playAccel and printFrom commands
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index 005d78b455..0693399fec 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -85,8 +85,8 @@ whitespace [\t ] (?i:exit) { count(); return tEXIT; } (?i:frame) { count(); return tFRAME; } (?i:global) { count(); return tGLOBAL; } -(?i:go) { count(); return tGO; } (?i:go[\t ]+to) { count(); return tGO; } +(?i:go) { count(); return tGO; } (?i:intersects) { count(); return tINTERSECTS; } (?i:into) { count(); return tINTO; } (?i:loop) { count(); return tLOOP; } @@ -194,6 +194,8 @@ whitespace [\t ] } else if (g_lingo->_handlers[yytext]->nargs == 1 && g_lingo->_handlers[yytext]->maxArgs == 1) { return BLTINONEARG; + } else if (g_lingo->_handlers[yytext]->nargs == -1) { + return BLTINARGLIST; } else { error("Incorrect setup for builtin: %s", yytext); } |