blob: 3b435f21982d75003b6e6519a49272763d857bee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
# This parser tests the use of OR clauses with one of them being empty
#
# The output of --dump should indicate the FOLLOW set for (A | ) is 'c'.
parser Test:
rule TestPlus: ( A | ) 'c'
rule A: 'a'+
rule TestStar: ( B | ) 'c'
rule B: 'b'*
|