Skip to content

Commit

Permalink
tokenizer: remove unused COND_ERROR (fixes #20)
Browse files Browse the repository at this point in the history
This fixes #20, as can be shown
by comparing the output of the following command before/after this
change:

    rm bashlex/parsetab.py*; make tests
  • Loading branch information
josephfrazier authored and idank committed Jan 11, 2017
1 parent 454d6f2 commit 18dc370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bashlex/tokenizer.py
Expand Up @@ -47,7 +47,8 @@ class tokentype(enum.Enum):
COPROC = 15 COPROC = 15
COND_START = 16 COND_START = 16
COND_END = 17 COND_END = 17
COND_ERROR = 18 # https://github.com/idank/bashlex/issues/20
# COND_ERROR = 18
IN = 19 IN = 19
BANG = '!' BANG = '!'
TIME = 21 TIME = 21
Expand Down

0 comments on commit 18dc370

Please sign in to comment.