[jflex-users] merge more than one DFA into one
The fast lexer generator for Java
Brought to you by:
lsf37,
steve_rowe
From: Johnson W. <ins...@gm...> - 2008-08-13 12:19:15
|
Dear Sirs, If I use JFlex to merge more than one DFA into one( use '|' connect each other), then about the final DFA, how to know which regular expression does the final states comes from? For instance: Regular Expression1(r1): a|b Regular Expression2(r2): a|c We use '|' to connect these two regular expressions: a|b|a|c Then, about the final states, how do we know the states comes from r1 or r2? Tks for your time and help! |