Ignore:
Timestamp:
Apr 17, 2020, 11:07:37 PM (5 years ago)
Author:
chronos
Message:
  • Added: Simple PHP code generator.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/interpreter2/UGenerator.pas

    r203 r204  
    140140    otFunctionCall: GenerateFunctionCall(Block, Expression.FunctionCall);
    141141    otConstantDirect: GenerateValue(Expression.ConstantDirect.Value);
    142     otConstantRef: GenerateValue(Expression.ConstantRef.Value);
     142    otConstantRef: AddText(Expression.ConstantRef.Name);
    143143    otVariableRef: AddText(Expression.VariableRef.Name);
    144144    else raise Exception.Create('Unsupported exception operand type.');
Note: See TracChangeset for help on using the changeset viewer.