Charj: Simplified method handling, methods now registered with parents
[charm.git] / src / langs / charj / src / charj / translator / SymbolTable.java
index 59b9037f0f8974dc2951502b6c81e81b76a8a6eb..e557f8dcc64caffe4cc4ed0c48ed84ee925d87e8 100644 (file)
@@ -59,6 +59,7 @@ public class SymbolTable {
         objectRoot.define("EOF", new VariableSymbol(this,"EOF",null));
         lang.define("Object", objectRoot);
 
+        primitiveTypes.put("void",   new ClassSymbol(this, "void",   null, lang));
         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));