Ignore:
Timestamp:
Aug 5, 2010, 4:17:18 PM (14 years ago)
Author:
george
Message:

End parsing process on reaching data end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DelphiToC/UPascalCompiler.pas

    r40 r43  
    3333begin
    3434  Parser.CodePosition := 1;
    35   TParserProgram.Parse(Parser, ProgramCode);
     35  try
     36    TParserProgram.Parse(Parser, ProgramCode);
     37  except
     38    on EEndOfData do ;
     39  end;
    3640  Producer.Produce;
    3741end;
Note: See TracChangeset for help on using the changeset viewer.