aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/quote/g_quote.ml4
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/quote/g_quote.ml4')
-rw-r--r--plugins/quote/g_quote.ml418
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/quote/g_quote.ml4 b/plugins/quote/g_quote.ml4
new file mode 100644
index 000000000..808cbbf27
--- /dev/null
+++ b/plugins/quote/g_quote.ml4
@@ -0,0 +1,18 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
+(* \VV/ **************************************************************)
+(* // * This file is distributed under the terms of the *)
+(* * GNU Lesser General Public License Version 2.1 *)
+(************************************************************************)
+
+(*i camlp4deps: "parsing/grammar.cma" i*)
+
+(* $Id$ *)
+
+open Quote
+
+TACTIC EXTEND quote
+ [ "quote" ident(f) ] -> [ quote f [] ]
+| [ "quote" ident(f) "[" ne_ident_list(lc) "]"] -> [ quote f lc ]
+END