aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/g_vernacnew.ml45
1 files changed, 1 insertions, 4 deletions
diff --git a/parsing/g_vernacnew.ml4 b/parsing/g_vernacnew.ml4
index c2aa505800..2d595088ca 100644
--- a/parsing/g_vernacnew.ml4
+++ b/parsing/g_vernacnew.ml4
@@ -717,10 +717,7 @@ GEXTEND Gram
| IDENT "right"; IDENT "associativity" -> SetAssoc Gramext.RightA
| IDENT "no"; IDENT "associativity" -> SetAssoc Gramext.NonA
| x = IDENT; typ = syntax_extension_type -> SetEntryType (x,typ)
- | IDENT "only"; x = [
- IDENT "parsing" -> SetOnlyParsing
- | IDENT "printing" -> SetOnlyPrinting
- ] -> x
+ | IDENT "only"; IDENT "parsing" -> SetOnlyParsing
| IDENT "format"; s = [s = STRING -> (loc,s)] -> SetFormat s ] ]
;
syntax_extension_type: