Commit be90a72b authored by Stefan Behnel's avatar Stefan Behnel

Minor simplification in debug code.

parent aea342e7
...@@ -292,7 +292,7 @@ class Scanner(object): ...@@ -292,7 +292,7 @@ class Scanner(object):
else: # input_state = 5 else: # input_state = 5
self.cur_char = u'' self.cur_char = u''
if self.trace: if self.trace:
print("--> [%d] %d %s" % (input_state, self.cur_pos, repr(self.cur_char))) print("--> [%d] %d %r" % (input_state, self.cur_pos, self.cur_char))
def position(self): def position(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment