We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcdd8d1 commit 66354a9Copy full SHA for 66354a9
1 file changed
sifter/grammar/lexer.py
@@ -93,6 +93,9 @@ def t_newline(t):
93
r'(\r\n)+'
94
t.lexer.lineno += t.value.count('\n')
95
96
+def t_error(t):
97
+ t.lexer.skip(1)
98
+
99
100
if __name__ == '__main__':
101
# PLY has a simple debugging mode that'll print out tokens for input coming
0 commit comments