Commit e9b1cbed authored by Stefan Behnel's avatar Stefan Behnel

properly strip type conversion utility code before writing it into the C file

parent 7eddb952
......@@ -999,7 +999,8 @@ class GlobalState(object):
# utility_code_def
#
code = self.parts['utility_code_def']
code.put(TempitaUtilityCode.load_cached("TypeConversions", "TypeConversion.c").impl)
util = TempitaUtilityCode.load_cached("TypeConversions", "TypeConversion.c")
code.put(util.format_code(util.impl))
code.putln("")
def __getitem__(self, key):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment