source: default/trunk/de.ugoe.cs.swe.bnftools.ebnf.samples/trunk/refactoring_and_validation_samples/14_equal_alternative_prefix_rules/test.bnf @ 5

Last change on this file since 5 was 5, checked in by zeiss, 14 years ago
File size: 225 bytes
Line 
1grammar test;
2
3// demo grammar for the following refactorings and validation rules:
4// - (unimplemented) equal alternative prefix rules
5
61. start ::= "foo" "bar-1" | "foo" "bar-2"
7
8// -> 1. start ::= "foo" ("bar-1 | "bar-2");
Note: See TracBrowser for help on using the repository browser.