diff options
author | 2016-09-27 17:15:10 +0200 | |
---|---|---|
committer | 2016-09-29 17:55:31 +0200 | |
commit | edb55a94fc5c0473e57f5a61c0c723194c2ff414 (patch) | |
tree | d5949e1815b62e5cd1966d2930e375c1d224aa22 /ide | |
parent | 89c2942352ec5d8d5b9cfe1116376412770cb396 (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 'ide')
-rw-r--r-- | ide/texmacspp.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ide/texmacspp.ml b/ide/texmacspp.ml index 53a29008a..9de1df9f1 100644 --- a/ide/texmacspp.ml +++ b/ide/texmacspp.ml @@ -189,7 +189,8 @@ match sm with end | SetEntryType (s, _) -> ["entrytype", s] | SetOnlyPrinting -> ["onlyprinting", ""] - | SetOnlyParsing v -> ["compat", Flags.pr_version v] + | SetOnlyParsing -> ["onlyparsing", ""] + | SetCompatVersion v -> ["compat", Flags.pr_version v] | SetFormat (system, (loc, s)) -> let start, stop = unlock loc in ["format-"^system, s; "begin", start; "end", stop] |