Where to put '#define YYSTYPE char *'?

2009-12-27 Thread Peng Yu
I have the following example6.y and example6.l files. The compilation gives me warnings. I'm not sure where to put '#define YYSTYPE char *' (it is currently in example6.y). Could somebody let me know? The example is from http://tldp.org/HOWTO/Lex-YACC-HOWTO-4.html $./compile.sh here example6.l: In

Check out my photos on Facebook

2009-12-27 Thread Ramaswamy Ranganathan
Hi Help-bison, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Ramaswamy To sign up for Facebook, follow the link belo

Re: Where to put '#define YYSTYPE char *'?

2009-12-27 Thread Chris verBurg
I think that belongs in the flex file (example6.l), not the yacc file (example6.y). -Chris On Sun, Dec 27, 2009 at 9:55 PM, Peng Yu wrote: > I have the following example6.y and example6.l files. The compilation > gives me warnings. I'm not sure where to put '#define YYSTYPE char *' > (it is cu