ledger_entry: Support NEWLINE tokens.

Necessary to run on Python 3.7.
This commit is contained in:
Brett Smith 2019-08-28 09:39:19 -04:00
parent eb329e92a0
commit 6e37753fb3

View file

@ -43,6 +43,7 @@ class TokenTransformer:
yield (ttype, tvalue)
transform_ENDMARKER = _noop_transformer
transform_NEWLINE = _noop_transformer
def transform_ENCODING(self, ttype, tvalue):
self.in_encoding = tvalue