Commit 4ca596a6 authored by Stefan Behnel's avatar Stefan Behnel

cleanup

parent 14c1860e
...@@ -1007,7 +1007,7 @@ def p_dotted_name(s, as_allowed): ...@@ -1007,7 +1007,7 @@ def p_dotted_name(s, as_allowed):
names.append(p_ident(s)) names.append(p_ident(s))
if as_allowed: if as_allowed:
as_name = p_as_name(s) as_name = p_as_name(s)
return (pos, target_name, u'.'join(names), as_name) return (pos, target_name, u'.'.join(names), as_name)
def p_as_name(s): def p_as_name(s):
if s.sy == 'IDENT' and s.systring == 'as': if s.sy == 'IDENT' and s.systring == 'as':
......
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