Commit a5638949 authored by POTTIER Francois's avatar POTTIER Francois
Browse files

Evidence the problem with %inline and positions.

parent 170c9c0e
......@@ -17,7 +17,7 @@ main:
{}
/* Added just to exercise productions with an empty right-hand side. */
nothing:
%inline nothing:
| /* nothing */
{ Aux.print "nothing" $startpos $endpos }
......@@ -27,7 +27,7 @@ optional_dot:
| DOT
{ Aux.print "optional_dot" $startpos $endpos}
optional_comma:
%inline optional_comma:
| nothing
| COMMA
{ Aux.print "optional_comma" $startpos $endpos}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment