[jflex-users] Error rule in a JFlex state
The fast lexer generator for Java
Brought to you by:
lsf37,
steve_rowe
From: Manos K. <agn...@ho...> - 2009-06-15 13:26:20
|
Dear all, Setting the case that we have the following states: <STATE1> { "HELLO" {ACTION1} "EVERYBODY" {ACTION2} . {yybegin(STATE2);} } <STATE2> { "NOBODY" {ACTION3} } I was wondering that if the scanner enters the STATE1 with current input the word 'NOBODY' will it reach STATE2, and if yes will the ACTION3 be taken? I would like to apologize if the question might seem silly but I am newbie with JFlex. Thank you, Emmanouil. _________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/ |