View Single Post
Join Date: Nov 2006
Posts: 202
Reputation: n.aggel is an unknown quantity at this point 
Solved Threads: 10
n.aggel's Avatar
n.aggel n.aggel is offline Offline
Posting Whiz in Training

Re: Lexer- Tokenizer problem

 
0
  #8
Aug 30th, 2007
Originally Posted by nedrocks View Post
There's a way to set precedence of regex's in flex. I don't remember the exact syntax, but you should put it before your catchall regex that you have defined there.
i haven't seen what you mention in the manual...

unfortunately i haven't found the solution...i worked around my problem by changing the grammar {i.e. bison file}, and finally i gave the project... Now when i find the time i will try to find a solution using starting conditions
Reply With Quote