From: Clifford Wolf Date: Sun, 29 Nov 2015 19:30:32 +0000 (+0100) Subject: Fixed oom bug in ilang parser X-Git-Tag: yosys-0.6~57 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a697accd4f54fe8175d02c84f100fa270ed38b7;p=yosys.git Fixed oom bug in ilang parser --- diff --git a/frontends/ilang/ilang_parser.y b/frontends/ilang/ilang_parser.y index 8622e0b89..cc31c8642 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: