|JLex zumanoZ@hotmail.com (2002-05-12)|
|Re: JLex firstname.lastname@example.org (JoAnn Peeler) (2002-05-13)|
|JLex email@example.com (Anton Vahcic, ml.) (1999-05-22)|
|From:||"JoAnn Peeler" <firstname.lastname@example.org>|
|Date:||13 May 2002 01:10:06 -0400|
|Organization:||RoadRunner - TampaBay|
|Posted-Date:||13 May 2002 01:10:03 EDT|
"zumano" <zumanoZ@hotmail.com> wrote in message
> I have downloaded JLex and I have a try at its sample lex file. However,
> I found that when I execute the command "java Sample < testing.txt", the
> input is only allowed to be in a single line format and it will give me
> the error "Lexical Error: Unmatched Input".
If you are using JLex on a Windows computer, you will need to add an extra
rule to the JLex script to ignore carriage returns (i.e. "\n"). Otherwise
when it matches this character at the end of a line it will produce the
error message you mentioned.
Return to the
Search the comp.compilers archives again.