home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mlb.semi.harris.com!controls.ccd.harris.com!djs
- From: djs@controls.ccd.harris.com (Dan J. Smith)
- Subject: Question about lex
- Message-ID: <1992Aug13.145803.3008@ccd.harris.com>
- Originator: djs@rs2
- Sender: djs@controls (Dan J. Smith)
- Organization: Harris Controls
- Date: Thu, 13 Aug 1992 14:58:03 GMT
- Lines: 20
-
-
-
- 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.
-
- My question is: Is there any way to link two lex output files into
- the same program. I've had several ideas but they turned into dead ends pretty
- quickly.
-
-
- Thanks in advance.
- Dan Smith
- djs@ccd.harris.com
-
- --
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Daniel J. Smith Phone: (407) 242-5191
- Harris Controls and Composition Email: djs@ccd.harris.com
- Melbourne Fl.
-