aboutsummaryrefslogtreecommitdiff
path: root/test-suite/misc/quotation_token/src/quotation.mlg
blob: 0f843b3b14b7e1016cea1a914773b6112dfa29f7 (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 [CProp,0])) } ] ]
  ;
END