On Tue, 2007-05-08 at 18:30 +0200, Stefano Simonucci wrote:
> Hi! 
> I try to make a syntactic recognizer. In the language can be included
> also comments of the type " # <comment> ".
> I have made two files: prova.lex and prova.y for flex and bison.
> A comment consists of a list (also empty) of identifier.
> But I get always syntax errors.
> We enclose the files prova.lex, prova.y, a file for the compilation
> (compila) and an input file (prova.E) 
> Thank you.
>   Stefano
> 

The file prova.E is wrong. 
The correct one is the following 

cat prova.E
#
# AA
#




-- 
Stefano Simonucci

GNU/Linux User: #81790  http://counter.li.org



_______________________________________________
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to