Simple JLex problem - Help!

royalpuk@hotmail.com (K Herner)
11 Dec 2001 21:36:30 -0500

          From comp.compilers

Related articles
Simple JLex problem - Help! royalpuk@hotmail.com (2001-12-11)
Re: Simple JLex problem - Help! lee_lau@hotmail.com (2001-12-20)
Re: Simple JLex problem - Help! lee_lau@hotmail.com (2001-12-20)
| List of all articles for this month |

From: royalpuk@hotmail.com (K Herner)
Newsgroups: comp.compilers
Date: 11 Dec 2001 21:36:30 -0500
Organization: http://groups.google.com/
Keywords: Java, lex, question
Posted-Date: 11 Dec 2001 21:36:30 EST

I am trying to get JLex recognise "/\" as a valid token, but it doesn't seem to
like it. "/" by itself is ok...


Have tried "/\\" [/\\] and several other combinations with no result...


When I type \ it just says 'Illegal character'. Any ideas?


(The exact opposite ie. "\/" works fine!).


Thanks


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.