diff options
author | 2016-03-17 23:49:40 +0100 | |
---|---|---|
committer | 2016-03-18 00:26:35 +0100 | |
commit | b5f6eb57a480d705be9362067e2fb887533c822c (patch) | |
tree | 1d5d50a20968a3fb8607ff9f15d6153dfa7f3fec /grammar/tacextend.ml4 | |
parent | 36e865119e5bb5fbaed14428fc89ecd4e96fb7be (diff) |
ARGUMENT EXTEND made of only one entry share the same grammar.
This fixes parsing conflicts with the [fix ... with] tactic.
Diffstat (limited to 'grammar/tacextend.ml4')
-rw-r--r-- | grammar/tacextend.ml4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/tacextend.ml4 b/grammar/tacextend.ml4 index 8c85d0162..a18dfa509 100644 --- a/grammar/tacextend.ml4 +++ b/grammar/tacextend.ml4 @@ -85,7 +85,7 @@ let make_fun_clauses loc s l = let make_prod_item = function | ExtTerminal s -> <:expr< Egramml.GramTerminal $str:s$ >> | ExtNonTerminal (nt, g, id) -> - let base s = <:expr< Pcoq.genarg_grammar $mk_extraarg loc s$ >> in + let base s = <:expr< Pcoq.name_of_entry (Pcoq.genarg_grammar $mk_extraarg loc s$) >> in <:expr< Egramml.GramNonTerminal $default_loc$ $make_rawwit loc nt$ $mlexpr_of_prod_entry_key base g$ >> |