Skip to content
Snippets Groups Projects
Commit d4f6f1ab authored by Henning Glawe's avatar Henning Glawe
Browse files

prefer literals over operators

parent 8e48ec65
No related branches found
No related tags found
No related merge requests found
......@@ -103,14 +103,14 @@ class FploInputParser(object):
if m is not None:
self.annotate(m.group(), ANSI.FG_GREEN)
return m.end()
m = cRE_operator.match(line, pos_in_line)
if m is not None:
self.annotate(m.group(), ANSI.FG_YELLOW)
return m.end()
m = cRE_literal.match(line, pos_in_line)
if m is not None:
self.annotate(m.group(), ANSI.BG_YELLOW)
return m.end()
m = cRE_operator.match(line, pos_in_line)
if m is not None:
self.annotate(m.group(), ANSI.FG_YELLOW)
return m.end()
m = cRE_opening_brace.match(line, pos_in_line)
if m is not None:
self.annotate(m.group(), ANSI.FG_BRIGHT_CYAN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment