| Index: tools/lexer_generator/automaton.py
|
| diff --git a/tools/lexer_generator/automaton.py b/tools/lexer_generator/automaton.py
|
| index c0f95cde7d6dac8b75012dde33af0c4725a01791..56f25da6fcd80582e8e80dc5bf71cc501a23208d 100644
|
| --- a/tools/lexer_generator/automaton.py
|
| +++ b/tools/lexer_generator/automaton.py
|
| @@ -79,7 +79,7 @@ class Action(object):
|
| return isinstance(other, self.__class__) and self.__term == other.__term
|
|
|
| def __str__(self):
|
| - return "action <%s>" % ('' if not self.__term else str(self.__term))
|
| + return str(self.__term)
|
|
|
| class AutomatonState(object):
|
| '''A base class for dfa and nfa states. Immutable'''
|
|
|