cc: typo in grammar

This commit is contained in:
Paul Mathieu 2021-07-25 23:52:58 -07:00
parent 112b593660
commit edb4161724

View File

@ -92,7 +92,7 @@ initializer_list: "{" [init_list_field ("," init_list_field)* ","? ] "}"
| prec5_expr ">>" prec4_expr -> shr | prec5_expr ">>" prec4_expr -> shr
?prec4_expr: prec3_expr ?prec4_expr: prec3_expr
| prec4_expr "+" prec3_expr -> add | prec4_expr "+" prec3_expr -> add
| prec4_expr "-" prec3_expr -> su | prec4_expr "-" prec3_expr -> sub
?prec3_expr: prec2_expr ?prec3_expr: prec2_expr
| prec3_expr "*" prec2_expr -> mul | prec3_expr "*" prec2_expr -> mul
| prec3_expr "/" prec2_expr -> div | prec3_expr "/" prec2_expr -> div