aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-25 10:27:51 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit327e625507f34c5656e4392c07d1b73bab95b976 (patch)
tree41762dec8742bbeeed8825eea9f4a8be8cdf4bc1 /engines/director/lingo/lingo-lex.l
parent0c4d0155d5e1b5d0f3319eb9329e3b0e3e81ec39 (diff)
downloadscummvm-rg350-327e625507f34c5656e4392c07d1b73bab95b976.tar.gz
scummvm-rg350-327e625507f34c5656e4392c07d1b73bab95b976.tar.bz2
scummvm-rg350-327e625507f34c5656e4392c07d1b73bab95b976.zip
DIRECTOR: Lingo: Make all keywords case-insensitive
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l46
1 files changed, 23 insertions, 23 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index df33121e74..3634df8b0f 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -48,29 +48,29 @@ whitespace [\t ]
^{whitespace}
[\t]+ { return ' '; }
-down { return tDOWN; }
-if { return tIF; }
-else { return tELSE; }
-end { return tEND; }
-exit { return tEXIT; }
-frame { return tFRAME; }
-go { return tGO; }
-into { return tINTO; }
-loop { return tLOOP; }
-macro { return tMACRO; }
-mci { return tMCI; }
-mciwait { return tMCIWAIT; }
-movie { return tMOVIE; }
-next { return tNEXT; }
-of { return tOF; }
-previous { return tPREVIOUS; }
-put { return tPUT; }
-repeat { return tREPEAT; }
-set { return tSET; }
-then { return tTHEN; }
-to { return tTO; }
-with { return tWITH; }
-while { return tWHILE; }
+(?i:down) { return tDOWN; }
+(?i:if) { return tIF; }
+(?i:else) { return tELSE; }
+(?i:end) { return tEND; }
+(?i:exit) { return tEXIT; }
+(?i:frame) { return tFRAME; }
+(?i:go) { return tGO; }
+(?i:into) { return tINTO; }
+(?i:loop) { return tLOOP; }
+(?i:macro) { return tMACRO; }
+(?i:mci) { return tMCI; }
+(?i:mciwait) { return tMCIWAIT; }
+(?i:movie) { return tMOVIE; }
+(?i:next) { return tNEXT; }
+(?i:of) { return tOF; }
+(?i:previous) { return tPREVIOUS; }
+(?i:put) { return tPUT; }
+(?i:repeat) { return tREPEAT; }
+(?i:set) { return tSET; }
+(?i:then) { return tTHEN; }
+(?i:to) { return tTO; }
+(?i:with) { return tWITH; }
+(?i:while) { return tWHILE; }
[!][=] { return tNEQ; }
[>][=] { return tGE; }