Changeset 45 for branches/DelphiToC/UPascalCompiler.pas
- Timestamp:
- Aug 9, 2010, 10:34:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DelphiToC/UPascalCompiler.pas
r44 r45 18 18 FOnErrorMessage: TOnErrorMessage; 19 19 procedure ErrorMessage(Text: string); 20 procedure Init ;20 procedure InitSystem; 21 21 public 22 22 ProgramCode: TProgram; … … 36 36 procedure TCompiler.Compile; 37 37 begin 38 Init ;38 InitSystem; 39 39 Parser.Init; 40 try 41 Parser.ParseAll(ProgramCode); 42 except 43 on EEndOfData do ; 44 end; 40 Parser.ParseAll(ProgramCode); 45 41 Producer.Produce; 46 42 end; … … 70 66 end; 71 67 72 procedure TCompiler.Init ;68 procedure TCompiler.InitSystem; 73 69 begin 74 70 with Parser do begin
Note:
See TracChangeset
for help on using the changeset viewer.