MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: ALPHA-TEST ytab.*



Michael Brundage writes:
> gcc -Wall -Wwrite-strings -g  -O -c y.tab.c
> parser.y:59: conflicting types for `YYSTYPE'
> y.tab.h:11: previous declaration of `YYSTYPE'
> parser.y:99: conflicting types for `yylval'
> y.tab.h:12: previous declaration of `yylval'

Here's the patch for people who have this problem or one that looks like it:
Remove the line
		#include "tokens.h"
from the file `keywords.h' and add it instead to the top of `keywords.c'.

Yet another platform dependency...

	Pavel



Home | Subject Index | Thread Index