aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'engines/director/lingo/lingo-lex.l')
-rw-r--r--engines/director/lingo/lingo-lex.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-lex.l b/engines/director/lingo/lingo-lex.l
index 6144bba448..2580f4f822 100644
--- a/engines/director/lingo/lingo-lex.l
+++ b/engines/director/lingo/lingo-lex.l
@@ -50,6 +50,7 @@ whitespace [\t ]
(?i:down) { return tDOWN; }
(?i:if) { return tIF; }
+(?i:else[\t ]+if) { return tELSIF; }
(?i:else) { return tELSE; }
(?i:end) { return tEND; }
(?i:exit) { return tEXIT; }