aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-09-27 17:15:10 +0200
committerPierre-Marie Pédrot2016-09-29 17:55:31 +0200
commitedb55a94fc5c0473e57f5a61c0c723194c2ff414 (patch)
treed5949e1815b62e5cd1966d2930e375c1d224aa22 /intf
parent89c2942352ec5d8d5b9cfe1116376412770cb396 (diff)
Fix bug #4798: compat notations should not modify the parser.
This is a quick fix. The Metasyntax module should be thoroughly revised in trunk, because it starts featuring a lot of spaghetti code and redundant data.
Diffstat (limited to 'intf')
-rw-r--r--intf/vernacexpr.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli
index 6df85f0764..1063a74d9f 100644
--- a/intf/vernacexpr.mli
+++ b/intf/vernacexpr.mli
@@ -211,8 +211,9 @@ type syntax_modifier =
| SetLevel of int
| SetAssoc of Extend.gram_assoc
| SetEntryType of string * Extend.simple_constr_prod_entry_key
- | SetOnlyParsing of Flags.compat_version
+ | SetOnlyParsing
| SetOnlyPrinting
+ | SetCompatVersion of Flags.compat_version
| SetFormat of string * string located
type proof_end =