help-flex
[Top][All Lists]
Advanced

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

flex help


From: Fred 24
Subject: flex help
Date: Mon, 15 Jul 2002 19:08:34 +0000

(please reply at my email address :)

Hi,

I have trouble with the \n. When a \n occurs between rules, bison return an error. What can I do for the \n to be valid between rules ???

SELECT STAR WhereClause OrderClause

"*"           return STAR;
"SELECT"      return SELECT;

WhereClause: {
             $$ = NULL;
            }
            ...
OrderClause:
            {
              $$ = NULL;
            }
            ...
Eg.:
SELECT *
WHERE ID = 5

It is not valid because a \n is between a "*" and "WHERE". The parser return an error and I want it to be valid with \n or not !

Thanks for your help
and sorry for my english :)
Fred




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx




reply via email to

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