Changeset 11764


Ignore:
Timestamp:
Oct 24, 2018 1:42:33 PM (14 months ago)
Author:
Jonathan Kämpe
Message:

#5670 Minor refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/ModelicaCBackEnd/src/jastadd/CCodeGen/CCodeGenAlgorithms.jrag

    r11676 r11764  
    439439        // return variable?
    440440        if(hasReturnVar()) {
    441             String name = getCodeGenContext().alias(getReturnVar().myCommonVarDecl());
     441            String name = getCodeGenContext().alias(getReturnVar().externalArgument());
    442442            if (name == null) {
    443443                name = getReturnVar().type().isRecord() ?
Note: See TracChangeset for help on using the changeset viewer.