From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 17 10:37:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2063B16A417; Thu, 17 Jan 2008 10:37:16 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id 6063413C442; Thu, 17 Jan 2008 10:37:15 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 8733C16C759; Thu, 17 Jan 2008 11:37:13 +0100 (CET) Received: from carrot.studby.ntnu.no (caracal.stud.ntnu.no [129.241.56.185]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 048C416C757; Thu, 17 Jan 2008 11:37:07 +0100 (CET) Date: Thu, 17 Jan 2008 11:37:06 +0100 From: Ulf Lilleengen To: freebsd-hackers@freebsd.org Message-ID: <20080117103706.GB11124@carrot.studby.ntnu.no> References: <20080116093302.GA13632@carrot.studby.ntnu.no> <0CE4984F-41F7-44EA-9FE7-0E573DB2B338@gid.co.uk> <20080116133214.GA2666@carrot.studby.ntnu.no> <20080116150655.GA47095@carrot.studby.ntnu.no> <20080116151553.GH34278@fasolt.home.paeps.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080116151553.GH34278@fasolt.home.paeps.cx> User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: philip@FreeBSD.org Subject: Re: Csup cvsmode build discussion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 10:37:16 -0000 On ons, jan 16, 2008 at 04:15:53pm +0100, Philip Paeps wrote: > On 2008-01-16 16:06:56 (+0100), Ulf Lilleengen wrote: > > However, this might only fix the issue with yacc if I'm thinking correctly, > > because the lexer also needs to be told about this for reentrancy. (But > > perhaps a much smaller problem since it's a matter of updating the lex > > version in base). > > I found that updating the lex in base was surprisingly easy. :-) I'll clean > up my patches and post them for review later this evening. > Excellent, thank you for your work on this Philip. I also found a good way to do what I planned. I'll use the updated flex in base, and then write the parser in C. This shouldn't be too hard since I have a tokenizer and just need to assert the correct structure of the file. This way I won't have to deal with yacc at all, which is sort of a relief :) -- Ulf Lilleengen