Browse Source

newline fix

pull/177/head
Oliverpool 9 years ago
parent
commit
7bbbafa0e2
  1. 2
      patacrep/latex/lexer.py

2
patacrep/latex/lexer.py

@ -60,7 +60,7 @@ class SimpleLexer:
# Define a rule so we can track line numbers
@staticmethod
def t_endofline(token):
r'\n+'
r'(\r?\n)+'
token.lexer.lineno += len(token.value)
@staticmethod

Loading…
Cancel
Save