Ignore:
Timestamp:
Nov 27, 2017, 1:09:38 PM (7 years ago)
Author:
chronos
Message:
  • Added: Rule can be set as optional or repetitive.
  • Added: Support for nested rule item sublist.
Location:
branches/generator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/generator

    • Property svn:ignore
      •  

        old new  
        22generator.lps
        33lib
         4heaptrclog.trc
  • branches/generator/Forms/UFormMain.pas

    r114 r117  
    5959
    6060procedure TFormMain.ARulesExecute(Sender: TObject);
     61var
     62  FormRules: TFormRules;
    6163begin
     64  FormRules := TFormRules.Create(nil);
    6265  FormRules.Rules := Core.Grammer.Rules;
    6366  FormRules.ShowModal;
    6467  MemoBNF.Lines.Text := Core.Grammer.GetBNF;
     68  FreeAndNil(FormRules);
    6569end;
    6670
Note: See TracChangeset for help on using the changeset viewer.