path: root/src/scanner.l
diff options
authorPablo Neira Ayuso <>2017-09-22 18:01:18 +0200
committerPablo Neira Ayuso <>2017-09-27 14:16:27 +0200
commitdccab4f646b4f71f7b6eac3aa44a7df26b3942b1 (patch)
tree2c2e58f104e4dfb7a4f4389ab6d51115a222dc56 /src/scanner.l
parentce0d5077f07c111e2ee8951830271219dd572a36 (diff)
parser_bison: consolidate stmt_expr rule
Extend stmt_expr and use it from all of our statement rules. Add more rules to describe what we take from statement expressions, instead of reusing rhs_expr which is allowing way more things that we actually need here. This is causing us problems when extending the grammar. After this patch, you will hit this: parser_bison.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr] However, this is fixed by the follow up patches: parser_bison: allow helper keyword in ct object kind parser_bison: use keywords in ct expression Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/scanner.l')
0 files changed, 0 insertions, 0 deletions