ledger_entry: Support NEWLINE tokens.
Necessary to run on Python 3.7.
This commit is contained in:
parent
eb329e92a0
commit
6e37753fb3
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ class TokenTransformer:
|
||||||
yield (ttype, tvalue)
|
yield (ttype, tvalue)
|
||||||
|
|
||||||
transform_ENDMARKER = _noop_transformer
|
transform_ENDMARKER = _noop_transformer
|
||||||
|
transform_NEWLINE = _noop_transformer
|
||||||
|
|
||||||
def transform_ENCODING(self, ttype, tvalue):
|
def transform_ENCODING(self, ttype, tvalue):
|
||||||
self.in_encoding = tvalue
|
self.in_encoding = tvalue
|
||||||
|
|
Loading…
Reference in a new issue