Changeset 6 for trunk/Compiler/Produce/UProducerGCCC.pas
- Timestamp:
- Nov 5, 2010, 11:31:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Produce/UProducerGCCC.pas
r2 r6 55 55 begin 56 56 TextSource := TStringList.Create; 57 FileExtension := '.c';58 57 IndentationLength := 2; 59 58 end; … … 119 118 procedure TProducerGCCC.GenerateModule(Module: TModule); 120 119 begin 120 Module.TargetFile := Module.Name + '.c'; 121 121 EmitLn('#include "platform.h"'); 122 122 EmitLn; … … 281 281 end; 282 282 ntVariable: Result := Expression.Variable.Name; 283 ntFunction: Result := Expression.FunctionCall. Name;283 ntFunction: Result := Expression.FunctionCall.FunctionRef.Name; 284 284 ntOperator: begin 285 285 Result := GenerateExpression(TExpression(Expression.SubItems.First))
Note:
See TracChangeset
for help on using the changeset viewer.