diff --git a/compiler/errors/compiler.py b/compiler/errors/compiler.py index d5cccaf4..feda9231 100644 --- a/compiler/errors/compiler.py +++ b/compiler/errors/compiler.py @@ -96,6 +96,7 @@ def start(): sub_class = caml(re.sub(r"_X", "_", error_id)) sub_class = re.sub(r"^2", "Two", sub_class) + sub_class = re.sub(r" ", "", sub_class) f_all.write(" \"{}\": \"{}\",\n".format(error_id, sub_class))