This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: No response to my problem ??


Fergus Henderson wrote:
> 
> On 31-Mar-1999, Aldo Mazzilli <aldo.mazzilli@inria.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.mazzilli@inrialpes.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@sourceware.cygnus.com