home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!uwm.edu!daffy!uwvax!uchinews!quads!pynq
- From: pynq@quads.uchicago.edu (George Jetson)
- Newsgroups: comp.lang.c
- Subject: Re: Question about lex
- Message-ID: <1992Aug13.163307.21298@midway.uchicago.edu>
- Date: 13 Aug 92 16:33:07 GMT
- Article-I.D.: midway.1992Aug13.163307.21298
- References: <1992Aug13.145803.3008@ccd.harris.com>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: pynq@midway.uchicago.edu
- Organization: D. J. Dougherty & Associates
- Lines: 19
-
- In article <1992Aug13.145803.3008@ccd.harris.com> djs@controls.ccd.harris.com (Dan J. Smith) writes:
- >
- >
- >I'm trying to call the lex output functions generated by two different lex input
- >files from the same program. But, they both generate output functions called
- >yylex and have the same global variables so this does not work.
-
- FLEX has this one sussed. It has the ability to create "re-entrant parsers",
- which don't use global variables. It also has, I believe, the ability
- to create multiple parsers with subtley different global variable names.
-
- ************************************************************************
- Please don't drink the battery acid, it tastes bad and will hurt you.
- Also, don't bite the tyres, especially when the bike is moving.
- (Our lawyers made us put this in this manual.)
-
- - pynq@quads.uchicago.edu, who is still costing the net
- hundreds, if not thousands, of dollars, every time he posts -
- ************************************************************************
-