source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.samples/trunk/refactoring_and_validation_samples/13_broken_alternative_logic/test_05.bnf @ 5

Last change on this file since 5 was 5, checked in by zeiss, 14 years ago
File size: 229 bytes
Line 
1grammar test;
2// left-factoring special cases
3
4// demo grammar for the following refactorings and validation rules:
5// - (unimplemented) broken alternative logic
6
71. start ::= { "foo" }+ | [ "foo" ];
8// -> 1. start ::= { "foo" }
Note: See TracBrowser for help on using the repository browser.