From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA05438; Wed, 30 Jun 2004 09:45:23 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA05427 for ; Wed, 30 Jun 2004 09:45:22 +0200 (MET DST) Received: from tcs.inf.tu-dresden.de (tcs.inf.tu-dresden.de [141.76.75.101]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5U7jLSH002846 for ; Wed, 30 Jun 2004 09:45:22 +0200 Received: from ithif51.inf.tu-dresden.de (ithif51 [141.76.75.51]) by tcs.inf.tu-dresden.de (8.12.9/8.12.9) with ESMTP id i5U7jLi1024271 for ; Wed, 30 Jun 2004 09:45:21 +0200 (MET DST) Received: from tews by ithif51.inf.tu-dresden.de with local (Exim 3.36 #1 (Debian)) id 1BfZmT-0003X7-00 for ; Wed, 30 Jun 2004 09:45:21 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] Startconditions in ocamllex References: <20040616032612.GA23426@complete.org> <200406290734.i5T7YhmE024387@hirsch.in-berlin.de> <20040629100003.A23800@beaune.inria.fr> From: Hendrik Tews Date: 30 Jun 2004 09:45:21 +0200 In-Reply-To: <20040629100003.A23800@beaune.inria.fr> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) at tcs.inf.tu-dresden.de X-Miltered: at concorde with ID 40E26F91.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 hendrik:01 tews:01 tews:01 implemented:01 00027.:01 hendrik:01 tu-dresden:01 caml:01 variable:03 lex:04 ocamllex:05 ocamllex:05 bye:08 message:89 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > in the original lex it is possible to use startconditions. > Is that possible in ocamllex too? Start conditions, whatever they are, are not implemented in ocamllex. You can simulate startconditions with several entry points and a global variable. See my message http://caml.inria.fr/archives/200309/msg00027.html (just ask again if that is not clear enough). Bye, Hendrik ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners