Skip to content

Commit

Permalink
fix erroneous merge
Browse files Browse the repository at this point in the history
  • Loading branch information
gares committed Oct 12, 2023
1 parent 1f4798f commit 6e5e926
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/coq_elpi_vernacular_syntax.mlg
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,12 @@ VERNAC COMMAND EXTEND ElpiRun CLASSIFIED BY { fun _ -> Vernacextend.(VtSideff ([
| #[ atts = any_attribute ] [ "Elpi" "Query" qualified_name(p) elpi_string(s) ] -> {
let () = ignore_unknown_attributes atts in
EV.run_in_program ~program:(snd p) s }
| #[ atts = any_attribute ] [ "Elpi" "Export" qualified_name(p) ] => { Vernacextend.(VtSideff ([],VtNow)) } -> {
let () = ignore_unknown_attributes atts in
EV.export_command (snd p) }
| #[ atts = any_attribute ] [ "Elpi" "Export" qualified_name(p) ] => { Vernacextend.(VtSideff ([],VtNow)) } SYNTERP AS _ {
EV.export_command (snd p)
} -> {
let () = ignore_unknown_attributes atts in
()
}
| #[ atts = any_attribute ] [ "Elpi" qualified_name(p) elpi_cmd_arg_list(args) ] -> {
EV.run_program (fst p) (snd p) ~atts args }
END
Expand Down

0 comments on commit 6e5e926

Please sign in to comment.