Charj: fix missing primitive type def'n for 'long'
authorAaron Becker <akbecker@gmail.com>
Sat, 22 May 2010 02:59:06 +0000 (21:59 -0500)
committerAaron Becker <akbecker@gmail.com>
Sat, 22 May 2010 02:59:06 +0000 (21:59 -0500)
src/langs/charj/src/charj/translator/SymbolTable.java

index eb82c9063639e6b5af7d5fe5ad3c47b2e9f13256..59b9037f0f8974dc2951502b6c81e81b76a8a6eb 100644 (file)
@@ -60,6 +60,7 @@ public class SymbolTable {
         lang.define("Object", objectRoot);
 
         primitiveTypes.put("int",    new ClassSymbol(this, "int",    null, lang));
+        primitiveTypes.put("long",   new ClassSymbol(this, "long",   null, lang));
         primitiveTypes.put("float",  new ClassSymbol(this, "float",  null, lang));
         primitiveTypes.put("double", new ClassSymbol(this, "double", null, lang));
         primitiveTypes.put("char",   new ClassSymbol(this, "char",   null, lang));