Skip to content

Commit

Permalink
Fix #340: Always use raw strings for token regex
Browse files Browse the repository at this point in the history
  • Loading branch information
glx22 committed Oct 4, 2024
1 parent f00eefa commit 0bebfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nml/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def t_ignore_comment(self, t):
self.increment_lines(t.value.count("\n"))

def t_ignore_whitespace(self, t):
"[ \t\r]+"
r"[ \t\r]+"
pass

def t_line_directive1(self, t):
Expand Down

0 comments on commit 0bebfe6

Please sign in to comment.