Fixed ilang parsing of process attributes
authorClifford Wolf <clifford@clifford.at>
Tue, 22 Jul 2014 18:35:58 +0000 (20:35 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 22 Jul 2014 18:39:37 +0000 (20:39 +0200)
frontends/ilang/parser.y

index d8ecf37b7b9c05a5eed2af3c1f43f441c26287e5..cb438775f252d01a4b8f7e1c9049f468a863333b 100644 (file)
@@ -225,6 +225,7 @@ proc_stmt:
                switch_stack.push_back(&current_process->root_case.switches);
                case_stack.clear();
                case_stack.push_back(&current_process->root_case);
+               attrbuf.clear();
                free($2);
        } case_body sync_list TOK_END EOL;