On 28 Dec 2009, at 03:55, 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 currently in example6.y). Could somebody let me know? The
example is from http://tldp.org
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
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