home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12281 < prev    next >
Encoding:
Text File  |  1992-08-13  |  1.0 KB  |  32 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!mlb.semi.harris.com!controls.ccd.harris.com!djs
  3. From: djs@controls.ccd.harris.com (Dan J. Smith)
  4. Subject: Question about lex
  5. Message-ID: <1992Aug13.145803.3008@ccd.harris.com>
  6. Originator: djs@rs2
  7. Sender: djs@controls (Dan J. Smith)
  8. Organization: Harris Controls
  9. Date: Thu, 13 Aug 1992 14:58:03 GMT
  10. Lines: 20
  11.  
  12.  
  13.  
  14. I'm trying to call the lex output functions generated by two different lex input
  15. files from the same program. But, they both generate output functions called
  16. yylex and have the same global variables so this does not work.
  17.  
  18. My question is: Is there any way to link two lex output files into
  19. the same program. I've had several ideas but they turned into dead ends pretty 
  20. quickly.
  21.  
  22.  
  23. Thanks in advance.
  24. Dan Smith
  25. djs@ccd.harris.com
  26.  
  27. -- 
  28. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29. Daniel J. Smith                      Phone: (407) 242-5191
  30. Harris Controls and Composition      Email: djs@ccd.harris.com
  31. Melbourne Fl.
  32.