diff options
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r-- | engines/director/lingo/lingo-lex.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l index f4f8fc0d54..15dc312110 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -71,7 +71,7 @@ identifier [_[:alpha:]][_[:alnum:]]* constfloat [[:digit:]]+\.[[:digit:]]* constinteger [[:digit:]]+ conststring \"[^\"\r\n]*\" -operator [-+*/%=^:,()><&\[\]] +operator [-+*/%^:,()><&\[\]] newline [ \t]*[\n\r] whitespace [\t ] @@ -257,6 +257,7 @@ whitespace [\t ] [>][=] { count(); return tGE; } [<][=] { count(); return tLE; } [&][&] { count(); return tCONCAT; } +[=] { count(); return g_lingo->_inCond ? tEQ : '='; } {identifier} { count(); |