aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-21 19:34:45 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commit0f3295c98f1bf846e0e7183d4fbafb1a767de75f (patch)
tree9777d95bfdf5e69bd8fce143179dccda24524446 /engines/director/lingo/lingo-lex.l
parentad9e2fd0e5aa02f5d2ff08034a40f220c604c3cf (diff)
downloadscummvm-rg350-0f3295c98f1bf846e0e7183d4fbafb1a767de75f.tar.gz
scummvm-rg350-0f3295c98f1bf846e0e7183d4fbafb1a767de75f.tar.bz2
scummvm-rg350-0f3295c98f1bf846e0e7183d4fbafb1a767de75f.zip
DIRECTOR: Lingo: Initial code for 'repeat with' control keyword
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 07d9a63c72..2ae996094f 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -48,6 +48,7 @@ whitespace [\t ]
^{whitespace}
[\t]+ { return ' '; }
+down { return tDOWN; }
if { return tIF; }
else { return tELSE; }
end { return tEND; }
@@ -66,6 +67,7 @@ repeat { return tREPEAT; }
set { return tSET; }
then { return tTHEN; }
to { return tTO; }
+with { return tWITH; }
while { return tWHILE; }
[!][=] { return tNEQ; }