From: Luke Kenneth Casson Leighton Date: Mon, 6 Apr 2020 12:48:26 +0000 (+0100) Subject: whoops missing final newline, needed for parser to end X-Git-Tag: div_pipeline~1448 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79f0340f83925a84e7d6354bd1910c998115a4ab;p=soc.git whoops missing final newline, needed for parser to end --- diff --git a/src/soc/decoder/pseudo/lexer.py b/src/soc/decoder/pseudo/lexer.py index 3e96a3a0..d05e8845 100644 --- a/src/soc/decoder/pseudo/lexer.py +++ b/src/soc/decoder/pseudo/lexer.py @@ -461,6 +461,7 @@ class IndentLexer(PowerLexer): s = annoying_case_hack_filter(s) if self.debug: print (s) + s += "\n" self.lexer.paren_count = 0 self.lexer.brack_count = 0 self.lexer.input(s)