Commit 0c323fe0 authored by Stefan Marr's avatar Stefan Marr
Browse files

Added string conversion

Signed-off-by: default avatarStefan Marr <>
parent 0c7548de
......@@ -48,7 +48,7 @@ class BytecodeGenerator(object):
if msg.get_string() == "+":
self._emit1(mgenc, BC.add)
raise RuntimeError("Unsupported msg: " + msg)
raise RuntimeError("Unsupported msg: " + str(msg))
def emitPUSHCONSTANT(self, mgenc, lit):
self._emit2(mgenc, BC.push_constant, mgenc.find_literal_index(lit))
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