whoops missing final newline, needed for parser to end
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Apr 2020 12:48:26 +0000 (13:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 6 Apr 2020 12:48:26 +0000 (13:48 +0100)
src/soc/decoder/pseudo/lexer.py

index 3e96a3a0d627f105e1f84c96243fe73cea004a21..d05e8845985617d964fb71f88a3c02a0d06f1ae5 100644 (file)
@@ -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)