Mail Archives: cygwin/1999/03/31/04:41:34
Fergus Henderson wrote:
>
> On 31-Mar-1999, Aldo Mazzilli <aldo DOT mazzilli AT inria DOT fr> 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;
> ...
> }
>
> --
Thanks for your suggestion,Fergus, but this initialization is produced
by 'lex'.
So I can't intervene in the lex producing C code.
Any other suggestions ?
Thanks ...
--
=======================================================================
,',',',',',',' Aldo MAZZILLI | INRIA Rhone-Alpes |
,',',',',',',' aldo DOT mazzilli AT inrialpes DOT fr| 655, avenue de l'Europe |
,',',',',',',' Tel : 04 76 61 53 91 | 38330 Montbonnot St Martin |
,',',',',',',' Fax : 04 76 61 52 52 | FRANCE |
,',' *** Site WEB : http://www.inrialpes.fr/vasy/people/Aldo.Mazzilli |
=======================================================================
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -