Subject: Re: No response to my problem ??
From: Fergus Henderson <[email-masked]>
To: Aldo Mazzilli <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 31 Mar 1999 19:32:46 +1000

On 31-Mar-1999, Aldo Mazzilli <[email-masked]> wrote:
> Here is the line 71 of scanner.c :
> FILE *yyin = {stdin}, *yyout = {stdout} ;

The ANSI/ISO C standard does not allow that code.
You need to write it as

	FILE *yyin, *yyout;

and then initialize yyin and yyout before you use
them, e.g. in main()

	int main() {
		yyin = stdin;
		yyout = stdout;
		...
	}

-- 
Fergus Henderson <[email-masked]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [email-masked]        |     -- the last words of T. S. Garp.

--
Want to unsubscribe from this list?
Send a message to [email-masked]