Changeset 51 for trunk/Compiler/Analyze


Ignore:
Timestamp:
Apr 6, 2012, 9:43:56 AM (13 years ago)
Author:
chronos
Message:
  • Added: Project determines which source file is main program source.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Analyze/UAnalyzerPascal.pas

    r26 r51  
    424424    ParseCommonBlock(Body, '.');
    425425    SourceCode.ParentProgram.Modules.Add(SourceCode);
     426    ProgramCode.MainModule := SourceCode;
    426427    Result := True;
    427428  end;
Note: See TracChangeset for help on using the changeset viewer.