[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Print expected tokens in yyerror function.
From: |
Necrosoft |
Subject: |
Print expected tokens in yyerror function. |
Date: |
Sat, 8 Mar 2008 17:47:36 +0100 |
Hi
I would know the expected token in a parser (GLR also..l) when yyerror
function is invoked. For example:
A = aB | bB
B = b | c
etc....
if the string in input is "ad$", in yyerror I would capture correct tokens
expected...like b or c.
Ho I can make that?
Many Thanks
Bye
- Print expected tokens in yyerror function.,
Necrosoft <=
- Re: Print expected tokens in yyerror function., Hans Aberg, 2008/03/09
- Re: Print expected tokens in yyerror function., Claudio Saavedra, 2008/03/29
- Re: Print expected tokens in yyerror function., Hans Aberg, 2008/03/29
- Re: Print expected tokens in yyerror function., Claudio Saavedra, 2008/03/29
- Re: Print expected tokens in yyerror function., Hans Aberg, 2008/03/29
- Re: Print expected tokens in yyerror function., Claudio Saavedra, 2008/03/29
- Re: Print expected tokens in yyerror function., Hans Aberg, 2008/03/29