[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Thomas Gazagnaire <ocaml@g...> |
| Subject: | Re: another camlp4 question |
To answer to myself: EXTEND Gram > > GLOBAL: sig_item; > > sig_item: [[ > "module"; "type"; i = a_UIDENT; "="; mt = module_type; "with"; id = > LIDENT -> > <:sig_item< module type $uid:i ^ "_" ^ id$ = $mt$; >> > ]]; > END > should have been: str_item instead of sig_item + any keyword different from "with" after the signature definition. - Thomas