Commit 33e73a70 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch 'master' into faster_absolute_reimports

parents d5392ffc 8a08c4f7
......@@ -65,7 +65,7 @@ class Ctx(object):
def p_ident(s, message="Expected an identifier"):
if s.sy == 'IDENT':
name = s.systring
name = s.context.intern_ustring(s.systring)
s.next()
return name
else:
......@@ -74,7 +74,7 @@ def p_ident(s, message="Expected an identifier"):
def p_ident_list(s):
names = []
while s.sy == 'IDENT':
names.append(s.systring)
names.append(s.context.intern_ustring(s.systring))
s.next()
if s.sy != ',':
break
......
......@@ -784,7 +784,9 @@ class TestBuilder(object):
os.makedirs(language_workdir)
workdir = os.path.join(language_workdir, module)
if preparse != 'id':
workdir += '_%s' % str(preparse)
workdir += '_%s' % (preparse,)
if language_level:
workdir += '_cy%d' % (language_level,)
return test_class(path, workdir, module, tags,
language=language,
preparse=preparse,
......
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