aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo/lingo-gr.y
diff options
context:
space:
mode:
authorEugene Sandulenko2016-07-09 11:35:10 +0200
committerEugene Sandulenko2016-08-03 23:40:36 +0200
commitcca71376b7ffdc539548e9daa72963ebac990a07 (patch)
treea932561bf2e1e32a2e8ef8dbdf4b7e4466d9945d /engines/director/lingo/lingo-gr.y
parent598be95ab4379fac72af28c35a087ed681a8731a (diff)
downloadscummvm-rg350-cca71376b7ffdc539548e9daa72963ebac990a07.tar.gz
scummvm-rg350-cca71376b7ffdc539548e9daa72963ebac990a07.tar.bz2
scummvm-rg350-cca71376b7ffdc539548e9daa72963ebac990a07.zip
DIRECTOR: Lingo: Implemented '&' string operator
Diffstat (limited to 'engines/director/lingo/lingo-gr.y')
-rw-r--r--engines/director/lingo/lingo-gr.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y
index b76000af32..002b4546f6 100644
--- a/engines/director/lingo/lingo-gr.y
+++ b/engines/director/lingo/lingo-gr.y
@@ -334,6 +334,7 @@ expr: INT {
| expr tNEQ expr { g_lingo->code1(g_lingo->c_neq); }
| expr tGE expr { g_lingo->code1(g_lingo->c_ge); }
| expr tLE expr { g_lingo->code1(g_lingo->c_le); }
+ | expr '&' expr { g_lingo->code1(g_lingo->c_ampersand); }
| '+' expr %prec UNARY { $$ = $2; }
| '-' expr %prec UNARY { $$ = $2; g_lingo->code1(g_lingo->c_negate); }
| '(' expr ')' { $$ = $2; }