Ignore:
Timestamp:
Apr 20, 2020, 11:31:59 PM (4 years ago)
Author:
chronos
Message:
  • Added: Optimizer class for implementation of various optimizations on AST.
  • Added: Transformation of repeat-until loop to while-do loop.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/interpreter2/UTokenizer.pas

    r205 r207  
    149149  (Text = 'var') or (Text = 'const') or (Text = 'if') or (Text = 'then') or
    150150  (Text = 'else') or (Text = 'while') or (Text = 'do') or (Text = 'for') or
    151   (Text = 'to') or (Text = 'repeat') or (Text = 'until');
     151  (Text = 'to') or (Text = 'repeat') or (Text = 'until') or (Text = 'break') or
     152  (Text = 'continue');
    152153end;
    153154
Note: See TracChangeset for help on using the changeset viewer.