aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-10 00:17:55 +0100
committerEugene Sandulenko2017-01-10 01:02:56 +0100
commitbfc2fa8aa27e4c36e06cc36806621f9acf77b067 (patch)
treef7d392713b9f6114d0d9c7eb61ca13ebf54e40bb /engines/director/lingo/lingo-lex.l
parent5ee51026c7f492e4d862551aeda31fea26e76ae7 (diff)
downloadscummvm-rg350-bfc2fa8aa27e4c36e06cc36806621f9acf77b067.tar.gz
scummvm-rg350-bfc2fa8aa27e4c36e06cc36806621f9acf77b067.tar.bz2
scummvm-rg350-bfc2fa8aa27e4c36e06cc36806621f9acf77b067.zip
DIRECTOR: Lingo: Implemented stubs for put..after and put..before
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 5d39b3f946..56317d10a1 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -72,9 +72,11 @@ whitespace [\t ]
^{whitespace}+ { count(); }
[\t]+ { count(); return ' '; }
-[#]{identifier} { count(); yylval.s = new Common::String(yytext); return SYMBOL; }
+[#]{identifier} { count(); yylval.s = new Common::String(yytext); return SYMBOL; } // D3
+(?i:after) { count(); return tAFTER; } // D3
(?i:and) { count(); return tAND; }
+(?i:before) { count(); return tBEFORE; } // D3
(?i:contains) { count(); return tCONTAINS; }
(?i:done) { count(); return tDONE; }
(?i:down) { count(); return tDOWN; }
@@ -100,7 +102,7 @@ whitespace [\t ]
(?i:next) { count(); return tNEXT; }
(?i:not) { count(); return tNOT; }
(?i:of) { count(); return tOF; }
-(?i:on) { count(); return tON; }
+(?i:on) { count(); return tON; } // D3
(?i:open) { count(); return tOPEN; }
(?i:or) { count(); return tOR; }
(?i:play) { count(); return tPLAY; }
@@ -108,7 +110,7 @@ whitespace [\t ]
(?i:put) { count(); return tPUT; }
(?i:repeat) { count(); return tREPEAT; }
(?i:set) { count(); return tSET; }
-(?i:sound) { count(); return tSOUND; }
+(?i:sound) { count(); return tSOUND; } // D3
(?i:starts) { count(); return tSTARTS; }
(?i:the[ \t]+sqrt[\t ]+of[\t ]+) {
count();