diff --git a/engines/sci/engine/said.cpp b/engines/sci/engine/said.cpp index 0f3fe9cea45..879cc098295 100644 --- a/engines/sci/engine/said.cpp +++ b/engines/sci/engine/said.cpp @@ -1568,7 +1568,7 @@ yyreduce: case 19: #line 180 "said.y" - { (yyval) = (yyvsp[(2) - (3)]); ;} + { (yyval) = said_aug_branch(0x141, 0x14c, (yyvsp[(2) - (3)]), SAID_BRANCH_NULL); ;} break; case 20: diff --git a/engines/sci/engine/said.y b/engines/sci/engine/said.y index e8d0dce84c0..b479834bfa3 100644 --- a/engines/sci/engine/said.y +++ b/engines/sci/engine/said.y @@ -177,7 +177,7 @@ cwordset : wordset wordset : word { $$ = $1; } | YY_PARENO expr YY_PARENC - { $$ = $2; } + { $$ = said_aug_branch(0x141, 0x14c, $2, SAID_BRANCH_NULL); } | wordset YY_COMMA wordset { $$ = said_attach_branch($1, $3); } | wordset YY_BRACKETSO_LT wordrefset YY_BRACKETSC