Re: Language with comments

2007-05-08 Thread Kelly Leahy
atches everything to the end of the line (\n char). Kelly - Original Message From: Stefano Simonucci <[EMAIL PROTECTED]> To: help-bison@gnu.org Sent: Tuesday, May 8, 2007 11:30:08 AM Subject: Language with comments Hi! I try to make a syntactic recognizer. In the language can be

Re: Language with comments

2007-05-08 Thread Stefano Simonucci
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 " # ". > I have made two files: prova.lex and prova.y for flex and bison. > A comment consists of a list (also empty) of identifier

Language with comments

2007-05-08 Thread Stefano Simonucci
Hi! I try to make a syntactic recognizer. In the language can be included also comments of the type " # ". 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, prov