Skip to content

Commit

Permalink
fixing the bug about parsing non-zero level constrs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Malecha committed Jun 23, 2015
1 parent 95bf7e5 commit c071747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/reify.ml4
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ TACTIC EXTEND get_goal
END;;

VERNAC COMMAND EXTEND Make_vernac CLASSIFIED AS SIDEFF
| [ "Quote" "Definition" ident(name) ":=" constr(def) ] ->
| [ "Quote" "Definition" ident(name) ":=" lconstr(def) ] ->
[ check_inside_section () ;
let (evm,env) = Lemmas.get_current_context () in
let def = Constrintern.interp_constr env evm def in
Expand Down
2 changes: 1 addition & 1 deletion test-suite/bug6.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Require Import Template.Template.

Quote Definition qOne := 1.
Quote Definition qOne_red := Eval compute in 1.
Quote Definition qTwo := 1 + 1. (** This should succeed! **)
Quote Definition qTwo := 1 + 1.

0 comments on commit c071747

Please sign in to comment.