diff options
Diffstat (limited to 'engines/director/lingo/lingo-gr.y')
-rw-r--r-- | engines/director/lingo/lingo-gr.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y index 39cb8a2c0d..f20c4e8d30 100644 --- a/engines/director/lingo/lingo-gr.y +++ b/engines/director/lingo/lingo-gr.y @@ -240,7 +240,7 @@ stmt: stmtoneliner (*g_lingo->_currentScript)[$1 + 5] = end; /* end, if cond fails */ checkEnd($11, "repeat", true); } - | when expr end { + | when stmtoneliner end { inst end = 0; WRITE_UINT32(&end, $3); g_lingo->code1(STOP); |