diff options
author | Eugene Sandulenko | 2016-07-09 21:20:03 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | da408c0ad03429a4cbe9718491c1130fef47e1d1 (patch) | |
tree | c13fe30f33233c571442ff8630285bb2c7a32b4b /engines/director/lingo/lingo-lex.l | |
parent | 8084989605853dd23e265a1f649e36611bdbfd99 (diff) | |
download | scummvm-rg350-da408c0ad03429a4cbe9718491c1130fef47e1d1.tar.gz scummvm-rg350-da408c0ad03429a4cbe9718491c1130fef47e1d1.tar.bz2 scummvm-rg350-da408c0ad03429a4cbe9718491c1130fef47e1d1.zip |
DIRECTOR: Lingo: Implement 'contains' and 'starts' string operators
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 d241993d53..6a78a3f160 100644 --- a/engines/director/lingo/lingo-lex.l +++ b/engines/director/lingo/lingo-lex.l @@ -62,6 +62,7 @@ whitespace [\t ] [\t]+ { count(); return ' '; } (?i:and) { count(); return tAND; } +(?i:contains) { count(); return tCONTAINS; } (?i:down) { count(); return tDOWN; } (?i:if) { count(); return tIF; } (?i:[\n\r]+[\t ]+else[\t ]+if) { countnl(); return tNLELSIF; } @@ -86,6 +87,7 @@ whitespace [\t ] (?i:put) { count(); return tPUT; } (?i:repeat) { count(); return tREPEAT; } (?i:set) { count(); return tSET; } +(?i:starts) { count(); return tSTARTS; } (?i:then) { count(); return tTHEN; } (?i:to) { count(); return tTO; } (?i:with) { count(); return tWITH; } |