case 126:
#line 813 "src/parser.y" /* yacc.c:1646 */
{
- FAIL((yyloc), "May need parentheses around object key");
+ FAIL((yyloc), "May need parentheses around object key expression");
(yyval.blk) = (yyvsp[0].blk);
}
#line 3380 "src/parser.c" /* yacc.c:1646 */
case 157:
#line 910 "src/parser.y" /* yacc.c:1646 */
{
- FAIL((yyloc), "May need parentheses around object key");
+ FAIL((yyloc), "May need parentheses around object key expression");
(yyval.blk) = (yyvsp[0].blk);
}
#line 3626 "src/parser.c" /* yacc.c:1646 */
$$ = gen_object_matcher($2, $5);
} |
error ':' Pattern {
- FAIL(@$, "May need parentheses around object key");
+ FAIL(@$, "May need parentheses around object key expression");
$$ = $3;
}
$$ = gen_dictpair($2, $5);
}
| error ':' ExpD {
- FAIL(@$, "May need parentheses around object key");
+ FAIL(@$, "May need parentheses around object key expression");
$$ = $3;
}
%%