summaryrefslogtreecommitdiff
path: root/frontends/ilang/ilang_parser.y
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-11-29 20:30:32 +0100
committerClifford Wolf <clifford@clifford.at>2015-11-29 20:30:32 +0100
commit4a697accd4f54fe8175d02c84f100fa270ed38b7 (patch)
treec1273bf30715f7638d1faefa353e94173f5ddd9b /frontends/ilang/ilang_parser.y
parent32f5ee117cd419e35db9f7ea15b958e1d545ecea (diff)
Fixed oom bug in ilang parser
Diffstat (limited to 'frontends/ilang/ilang_parser.y')
-rw-r--r--frontends/ilang/ilang_parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ilang/ilang_parser.y b/frontends/ilang/ilang_parser.y
index 8622e0b8..cc31c864 100644
--- a/frontends/ilang/ilang_parser.y
+++ b/frontends/ilang/ilang_parser.y
@@ -276,8 +276,8 @@ compare_list:
/* empty */;
case_body:
- switch_stmt case_body |
- assign_stmt case_body |
+ case_body switch_stmt |
+ case_body assign_stmt |
/* empty */;
assign_stmt: