SYNOPSIS

This is a modification of the example in rrconflictnamefirst.eyp. That is an example of a non ambiguous grammar with a reduce-reduce conflict. The main difference here is the introduction of the syntactic variable typeafter

Compile it with:

eyapp -b '' rrconflictnamefirst_fix1.eyp

run it with this options:

./rrconflictnamefirst_fix1.pm -t -i -m 1 -c 'a,b:c d:e,'

See also:

  • Files reducereduceconflict.eyp and reducereduceconflict_fix2.eyp offer other solutions to the problem.

  • Section "Reduce-Reduce Conflicts with Unambiguous Grammars" in Parse::Eyapp::debuggingtut