Fixed output of PRIMITIVE_VAR_DECL and OBJECT_VAR_DECL into C files.
authorJonathan Lifflander <jliffl2@illinois.edu>
Mon, 14 Jun 2010 16:01:53 +0000 (11:01 -0500)
committerJonathan Lifflander <jliffl2@illinois.edu>
Mon, 14 Jun 2010 16:01:53 +0000 (11:01 -0500)
src/langs/charj/src/charj/translator/CharjEmitter.g

index e680c7d00a36ae5c2f8cd93e2393e64c128344d4..076e6fcf0253539a1330d4cef0bce49fe7bc3b9b 100644 (file)
@@ -239,13 +239,13 @@ classScopeDeclaration
                 block={$b.st})
         ->
     |   ^(PRIMITIVE_VAR_DECLARATION modifierList? simpleType variableDeclaratorList[null, false])
-        -> {emitCC() || emitH()}? class_var_decl(
+        -> {emitH()}? class_var_decl(
             modl={$modifierList.st},
             type={$simpleType.st},
             declList={$variableDeclaratorList.st})
         ->
     |   ^(OBJECT_VAR_DECLARATION modifierList? objectType variableDeclaratorList[$objectType.st, false])
-        -> {emitCC() || emitH()}? class_var_decl(
+        -> {emitH()}? class_var_decl(
             modl={$modifierList.st},
             type={$objectType.st},
             declList={$variableDeclaratorList.st})