diff options
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index 25fde2a371..5d39b3f946 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -72,6 +72,8 @@ whitespace [\t ] ^{whitespace}+ { count(); } [\t]+ { count(); return ' '; } +[#]{identifier} { count(); yylval.s = new Common::String(yytext); return SYMBOL; } + (?i:and) { count(); return tAND; } (?i:contains) { count(); return tCONTAINS; } (?i:done) { count(); return tDONE; } |