help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Language with comments


From: Stefano Simonucci
Subject: Language with comments
Date: Tue, 08 May 2007 18:30:08 +0200

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


-- 
Stefano Simonucci

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

Attachment: prova.lex
Description: Text document

Attachment: prova.y
Description: Text document

Attachment: compila
Description: application/shellscript

Attachment: prova.E
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]