aboutsummaryrefslogtreecommitdiff
path: root/test-suite/misc/quotation_token/src/quotation.mlg
blob: ba0bcb1b3cebf1b5026d41289cf31c3135623cb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{
open Pcoq.Constr
}
GRAMMAR EXTEND Gram
  GLOBAL: term;

  term: LEVEL "0"
    [ [ s = QUOTATION "foobar:" ->
        {
          CAst.make ~loc Constrexpr.(CSort Glob_term.(UNamed [GProp,0])) } ] ]
  ;
END