Skip to content
Snippets Groups Projects

New new string

Merged Xun Yang requested to merge new-new-string into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -145,8 +145,8 @@ class LiteralNode(ASTNode):
return
# int
if self.name == 'int':
self.code += p("mov", "eax", str(self.getConstant()), " set to literal int")
if self.name in ['int', 'short']:
self.code += p("mov", "eax", str(self.getConstant()), " set to literal num")
return
def getConstant(self):
Loading