Changeset 3120 for proto


Ignore:
Timestamp:
May 7, 2013, 10:44:20 AM (6 years ago)
Author:
ksherdy
Message:

Minor fix to Unparser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/src/toolchain/pabloB/codeGenerator/visitors/Unparser.java

    r3035 r3120  
    151151        public CodeStore visitLeave(StateIdentifierNode node, List<CodeStore> childResults) {           
    152152               
    153                 stateIdentifier = Accessors.stateName(node); // synthetic attribute
    154                
    155                 CodeStore code = new CodeStore();
    156                 code.setResultVarName(stateIdentifier);         
     153            // stateIdentifier = Accessors.stateName(node); // synthetic attribute
     154                CodeStore code = new CodeStore();
     155                // code.setResultVarName(stateIdentifier);             
    157156                return code;
    158157        }
     
    190189        public CodeStore visitLeave(StateSizeNode node, List<CodeStore> childResults) {
    191190                CodeStore code = new CodeStore();
    192                 code.setResultVarName(Accessors.integerConstantLexeme(node));
     191        //      code.setResultVarName(Accessors.integerConstantLexeme(node));
    193192                return code;
    194193        }       
Note: See TracChangeset for help on using the changeset viewer.