| Index: tools/lexer_generator/dfa.py
|
| diff --git a/tools/lexer_generator/dfa.py b/tools/lexer_generator/dfa.py
|
| index c3807e0eabe8c20b427da3e88b3038d957e5e771..049845a7e7e947fe1b90389c80ef057a493ef386 100644
|
| --- a/tools/lexer_generator/dfa.py
|
| +++ b/tools/lexer_generator/dfa.py
|
| @@ -218,10 +218,9 @@ class DfaMinimizer:
|
| action = state.action()
|
| all_keys.append(state.key_iter())
|
| if action:
|
| - # TODO add this back
|
| - # assert state in self.__terminal_set
|
| if state not in terminal_set:
|
| - action = "nonterminal action " + str(action)
|
| + assert action.entry_action()
|
| + action = ("nonterminal action", action)
|
| elif state in terminal_set:
|
| action = "terminal_set"
|
| if not action in action_map:
|
|
|