[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
X- problems
--- Shridhar Daithankar
<shridhar_daithankar@xxxxxxxxxx> wrote:
> Hi all
>
> I am calling a bison parser on a string that is
> collecting key strokes in a char
> array, in Qt event loop...
>
> Say A/B/C/D are my terminal/non-terminals.
>
> then the rule
>
> E : A B C D
>
> fails if(well always) bison can not look ahead as
> array is over. What I am doing
> is hardcoding all possible terminal/non terminals in
> front of D like
>
> E : A B C D F
>
> This works but it does not generate any out put tlll
> next character(in F) is
> typed, which is but obvious.
>
> Is there any way I can instruct bison not to look
> ahead in a particular
> situation?
>
> TIA...(Banging my head against wall... Desparately
> need help:-(()
>
> Bye
> Shridhar
>
>
>
>
> ---------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIP
=====
John Slater
#123, Hooly Wood
LA, CA 34523
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/