Changeset 128 for branches/generator/URules.pas
- Timestamp:
- Nov 30, 2017, 6:33:17 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/URules.pas
r127 r128 537 537 function TRuleItem.GetCharLength: Integer; 538 538 begin 539 Result := 0; 540 if not Optional then 539 541 case RuleItemType of 540 542 ritTerminal: Result := Length(Terminal); 541 ritNonTerminal: Result := Length(NonTerminal.Name);543 //ritNonTerminal: Result := NonTerminal.Items.GetCharLength; 542 544 ritSubItems: Result := SubItems.GetCharLength; 543 545 ritTerminalRange: Result := Max(Length(TerminalFrom), Length(TerminalTo))
Note:
See TracChangeset
for help on using the changeset viewer.