aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/extend.ml
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/extend.ml')
-rw-r--r--parsing/extend.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/extend.ml b/parsing/extend.ml
index 6a557f368..1a9bdec91 100644
--- a/parsing/extend.ml
+++ b/parsing/extend.ml
@@ -91,6 +91,7 @@ type syntax_modifier =
| SetAssoc of Gramext.g_assoc
| SetEntryType of string * simple_constr_production_entry
| SetOnlyParsing
+ | SetFormat of string
type nonterm =
| NtShort of string
@@ -289,7 +290,7 @@ type 'pat unparsing_hunk =
| UNP_TBRK of int * int
| UNP_TAB
| UNP_FNL
- | UNP_SYMBOLIC of string * string * 'pat unparsing_hunk
+ | UNP_SYMBOLIC of string option * string * 'pat unparsing_hunk
let rec subst_hunk subst_pat subst hunk = match hunk with
| PH (pat,so,pr) ->