home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22866 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  822 b 

  1. Path: sparky!uunet!cs.utexas.edu!asuvax!ncar!csn!copper!slate!iarit
  2. From: iarit@slate.mines.colorado.edu (ARIT ISMAIL)
  3. Newsgroups: comp.os.linux
  4. Subject: flex&bison question....
  5. Message-ID: <1993Jan6.023031.16294@slate.mines.colorado.edu>
  6. Date: 6 Jan 93 02:30:31 GMT
  7. Organization: Colorado School of Mines
  8. Lines: 12
  9.  
  10. Hi,
  11.  
  12. I am having compiling any program that uses lex(flex) and
  13. yacc(bison) under Linux. The same code compiles and runs just fine
  14. under other operating system( Ultrix,AIX,NeXT..).
  15. I put some printf's around in yacc code, and looks like 'yytext' gets some
  16. junk chars. I checked  lex file, everthing looks OK.
  17. My question is ; who defines 'yytext'?, is there anything that we should
  18. do when we port standard lex&yacc code to flex&bison?
  19.  
  20. Any help will be greatly appreciated.
  21. iarit@slate.mines.colorado.edu
  22.