Date: Fri, 6 Dec 1996 21:59:34 GMT From: rb@gid.co.uk (Bob Bishop) To: Terry Lambert <terry@lambert.org> Cc: hackers@freebsd.org Subject: Re: Yacc -p<NAME> is broken Message-ID: <v01540b01aece468c5e17@[194.32.164.2]>
next in thread | raw e-mail | index | archive | help
At 12:01 pm 6/12/96, Terry Lambert wrote: >[...] >In any case, with all the non-static globals, it's inlikely that >you could safely use multiple lexers in the same program without >seriously fixing lex. True, but you don't need to; as I said in my previous reply you can run a lexer multiple times. If you want different lex rules for different phases (I've usually found that most are common), you can use a state variable and REJECT. [In case you missed it, in my last reply I was talking about multiple grammars not multiple parsers.] -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01540b01aece468c5e17>