Fix a syntax bug in ilang backend related to process case statements
authorClifford Wolf <clifford@clifford.at>
Thu, 14 Mar 2019 16:50:20 +0000 (17:50 +0100)
committerClifford Wolf <clifford@clifford.at>
Thu, 14 Mar 2019 16:50:20 +0000 (17:50 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
backends/ilang/ilang_backend.cc

index 4c58ea087b792eb0e5a39862841a37cffe673945..dc39e5e0838dec6eafde703cad72cf4b32c58fe2 100644 (file)
@@ -204,7 +204,7 @@ void ILANG_BACKEND::dump_proc_switch(std::ostream &f, std::string indent, const
                f << stringf("%s  case ", indent.c_str());
                for (size_t i = 0; i < (*it)->compare.size(); i++) {
                        if (i > 0)
-                               f << stringf(", ");
+                               f << stringf(" , ");
                        dump_sigspec(f, (*it)->compare[i]);
                }
                f << stringf("\n");