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/generator.lpr

    r116 r117  
    99  Interfaces, // this includes the LCL widgetset
    1010  Forms, UCore, URules, Common, TemplateGenerics, UFormRule, UFormMain,
    11   UFormRules, UFormRuleItem, UFormRuleItems
     11  UFormRules, UFormRuleItem, UFormRuleItems, SysUtils
    1212  { you can add units after this };
    1313
    1414{$R *.res}
    1515
     16{$IFDEF DEBUG}
     17const
     18  HeapTraceLog = 'heaptrclog.trc';
     19{$ENDIF}
     20
    1621begin
     22  {$IFDEF DEBUG}
     23  // Heap trace
     24  DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     25  SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog);
     26  {$ENDIF}
     27
     28  Application.Title:='Language generator';
    1729  RequireDerivedFormResource := True;
    1830  Application.Initialize;
    1931  Application.CreateForm(TCore, Core);
    2032  Application.CreateForm(TFormMain, FormMain);
    21   Application.CreateForm(TFormRule, FormRule);
    22   Application.CreateForm(TFormRules, FormRules);
    23   Application.CreateForm(TFormRuleItem, FormRuleItem);
    24   Application.CreateForm(TFormRuleItems, FormRuleItems);
    2533  Application.Run;
    2634end.
Note: See TracChangeset for help on using the changeset viewer.