Changeset 62 for trunk/Compiler/Analyze


Ignore:
Timestamp:
Jul 17, 2012, 10:14:41 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Show tab sheets of source code forms on file click in project manager.
  • Fixed: Compilation error message line calculation on Windows.
Location:
trunk/Compiler/Analyze
Files:
1 deleted
1 edited

Legend:

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

    r58 r62  
    568568      if NextToken = 'initialization' then Break
    569569      else if NextToken = 'finalization' then Break
     570      else if NextToken = 'end' then Break
    570571      else begin
    571572        ErrorMessage(SInvalidConstruction, [NextToken]);
     
    14441445      Module := SourceCode.ParentModule.ParentProgram.Modules.Search(Name);
    14451446      if not Assigned(Module) then begin
    1446         if ParseFile(Name) then begin
     1447        if ParseFile(Name + '.pas') then begin
    14471448          Module := SourceCode.ParentModule.ParentProgram.Modules.Search(Name);
    14481449          Exported := AExported;
Note: See TracChangeset for help on using the changeset viewer.