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 TAA17748; Sun, 13 Apr 2003 19:44:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA18460 for ; Sun, 13 Apr 2003 19:44:05 +0200 (MET DST) Received: from mail2.tpgi.com.au (mail.tpgi.com.au [203.12.160.58]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h3DHi3922464 for ; Sun, 13 Apr 2003 19:44:04 +0200 (MET DST) Received: from ozemail.com.au (syd-ts20-2600-164.tpgi.com.au [203.213.127.164]) (authenticated bits=0) by mail2.tpgi.com.au (8.12.9/8.12.9) with ESMTP id h3DEXfil006984 for ; Mon, 14 Apr 2003 00:34:02 +1000 Message-ID: <3E997545.5080308@ozemail.com.au> Date: Mon, 14 Apr 2003 00:33:41 +1000 From: John Max Skaller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 X-Accept-Language: en-us MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Ocamlex/ocamlyacc breakage? References: <200304081808.48574.stalkern2@tin.it> <20030408180339.B73157F4D@lobus.fungible.com> <200304090120.56363.stalkern2@tin.it> <20030409091624G.garrigue@kurims.kyoto-u.ac.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Kaspersky-Antivirus: Passed X-Spam: no; 0.00; ozemail:01 caml-list:01 reusing:01 parses:01 toxteth:01 glebe:01 2037,:01 9660:01 0850:01 afaik:01 reentrant:01 nsw:01 snail:02 stack:02 lexbuf:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk AFAIK both ocamllex and yacc are reentrant. Ocamlyacc preserves state on its stack in a functional manner. Ocamllex preserves state in the lexbuf. Maybe you are reusing the same lexbuf for two simultaneously running parses? -- John Max Skaller, mailto:skaller@ozemail.com.au snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 ------------------- 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