Changeset 6 for trunk/Compiler/Produce/UProducerPascal.pas
- Timestamp:
- Nov 5, 2010, 11:31:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Produce/UProducerPascal.pas
r5 r6 51 51 begin 52 52 IndentationLength := 2; 53 FileExtension := '.pas';54 53 TextSource := TStringList.Create; 55 54 end; … … 88 87 procedure TProducerPascal.GenerateModule(Module: TModule); 89 88 begin 89 Module.TargetFile := Module.Name + '.pas'; 90 90 if Module is TModuleProgram then 91 91 with TModuleProgram(Module) do begin … … 320 320 end; 321 321 ntVariable: Result := Expression.Variable.Name; 322 ntFunction: Result := Expression.FunctionCall. Name;322 ntFunction: Result := Expression.FunctionCall.FunctionRef.Name; 323 323 ntOperator: begin 324 324 Result := GenerateExpression(TExpression(Expression.SubItems.First))
Note:
See TracChangeset
for help on using the changeset viewer.