Re: please help on infix yylex.

2005-05-09 Thread 魏政元
char except newline [\n]return yytext[0]; -- 致 礼! 魏政元 [EMAIL PROTECTED] - Original Message - From: "Laxman Bana" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent:

Re: please help on infix yylex.

2005-05-09 Thread Hans Aberg
At 04:09 + 2005/05/09, Laxman Bana wrote: Lex Gurus, I am trying to learn flex and bison and I started with infix calc example specified in the manual. Everything is nomal when I use yylex() function specified in the manual. But I wanted to generate tokens using flex and I created followin

please help on infix yylex.

2005-05-08 Thread Laxman Bana
Lex Gurus, I am trying to learn flex and bison and I started with infix calc example specified in the manual. Everything is nomal when I use yylex() function specified in the manual. But I wanted to generate tokens using flex and I created following rules and it never worked:( I tried to f