summaryrefslogtreecommitdiff
path: root/testsuite/tests/tool-lexyacc/parsecheck.mly
blob: 2acb15f37770b4ba219b5ece264a9162399947c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* TEST
   ocamlyacc_flags = " -q --strict "
*/
%token <unit> SIMPLE
%type <unit> silly
%start silly
%%
silly : SIMPLE {
            (* {A|  *)
            (* {a| *) } } }  |a} *)
            (* {%%A.ba| *) } } }  |} *)
    $1
    }
;