Ignore:
Timestamp:
Aug 10, 2010, 3:41:49 PM (14 years ago)
Author:
george
Message:

Slightly enhanced parsing of unit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/UCompiler.pas

    r55 r58  
    4949  Parser.SourceCodeText := Source;
    5050  Parser.Init;
    51   ProgramCode.Modules.Add(Parser.ParseModule);
     51  NewModule := Parser.ParseModule;
     52  ProgramCode.Modules.Add(NewModule);
    5253  Producer.Produce(NewModule, ProducedCode);
    5354end;
Note: See TracChangeset for help on using the changeset viewer.