Changeset 13485


Ignore:
Timestamp:
Sep 16, 2019 8:37:59 AM (3 months ago)
Author:
Jonathan Kämpe
Message:

#1481 Fixed equation counting that included record parameters with binding expressions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jk-2263/Compiler/ModelicaFlatTree/src/jastadd/Variability.jrag

    r12811 r13485  
    243243    FTimeExp contributes this to FAbstractEquation.timeExps() for myFEquation();
    244244   
    245     syn boolean FAbstractEquation.isConstant()   = variability().constantVariability();
    246     syn boolean FAbstractEquation.isParameter()  = variability().parameterVariability();
    247     syn boolean FAbstractEquation.isDiscrete()   = variability().discreteVariability();
    248245    syn boolean FAbstractEquation.isContinuous() = variability().continuousVariability();
    249246
     
    258255    eq FVariable.isContinuous() = variability().continuousVariability();
    259256
     257    eq FRecordVariable.isConstant()   = variability().combine().constantVariability();
     258    eq FRecordVariable.isParameter()  = variability().combine().parameterVariability();
     259    eq FRecordVariable.isDiscrete()   = variability().combine().discreteVariability();
     260    eq FRecordVariable.isContinuous() = variability().combine().continuousVariability();
    260261
    261262    syn TypePrefixVariability FType.funcOutputVariability() = Variability.DISCRETE;
Note: See TracChangeset for help on using the changeset viewer.