Changeset 123 for branches/generator/URules.pas
- Timestamp:
- Nov 29, 2017, 3:45:03 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/URules.pas
r122 r123 27 27 Optional: Boolean; 28 28 Repetitive: Boolean; 29 AnyExcept: Boolean; 29 30 RuleItemType: TRuleItemType; 30 31 Terminal: string; … … 335 336 WriteBoolean(Node, 'Optional', Optional); 336 337 WriteBoolean(Node, 'Repetitive', Repetitive); 338 WriteBoolean(Node, 'AnyExcept', AnyExcept); 337 339 338 340 case RuleItemType of … … 361 363 if Optional then Result := '+' + Result; 362 364 if Repetitive then Result := '*' + Result; 365 if AnyExcept then Result := '!' + Result; 363 366 end; 364 367 … … 406 409 Optional := ReadBoolean(Node, 'Optional', False); 407 410 Repetitive := ReadBoolean(Node, 'Repetitive', False); 411 AnyExcept := ReadBoolean(Node, 'AnyExcept', False); 408 412 case RuleItemType of 409 413 ritTerminal: Terminal := ReadString(Node, 'Terminal', '');
Note:
See TracChangeset
for help on using the changeset viewer.