From 6b691bbd2101fd39395c0d2135fd7c06a8915e14 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 24 Dec 2010 11:53:29 +0100 Subject: Imported Upstream version 8.3pl1 --- lib/compat.ml4 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib') diff --git a/lib/compat.ml4 b/lib/compat.ml4 index 9b6bb19c..a77c2bc6 100644 --- a/lib/compat.ml4 +++ b/lib/compat.ml4 @@ -65,3 +65,15 @@ let unloc = M.unloc let join_loc = M.join_loc type token = M.token type lexer = M.lexer + +IFDEF CAMLP5_6_00 THEN + +let slist0sep x y = Gramext.Slist0sep (x, y, false) +let slist1sep x y = Gramext.Slist1sep (x, y, false) + +ELSE + +let slist0sep x y = Gramext.Slist0sep (x, y) +let slist1sep x y = Gramext.Slist1sep (x, y) + +END -- cgit v1.2.3