Ignore:
Timestamp:
Aug 9, 2010, 3:05:26 PM (14 years ago)
Author:
george
Message:

Added support for loop for-to-do.
System types and functions are not generated to output code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DelphiToC/Produce/UProducerPascal.pas

    r49 r50  
    7878procedure TProducerPascal.GenerateModule(Module: TModule);
    7979begin
     80  Emit('program ' + Module.Name + ';');
     81  Emit('');
    8082  GenerateUses(Module.UsedModules);
    8183  GenerateCommonBlock(Module, '');
     
    108110  for I := 0 to Functions.Count - 1 do
    109111  with TFunction(Functions[I]) do
     112  if not System then
    110113  begin
    111114    if HaveResult then
Note: See TracChangeset for help on using the changeset viewer.