Commit cc09babd authored by Stefan Behnel's avatar Stefan Behnel

fix for name declarations of interned string values in functions

parent 01b2ec1c
...@@ -248,6 +248,7 @@ class BlockNode: ...@@ -248,6 +248,7 @@ class BlockNode:
if entries: if entries:
code.putln("") code.putln("")
for entry in entries: for entry in entries:
if not entry.is_interned:
code.putln( code.putln(
"static PyObject *%s;" % entry.pystring_cname) "static PyObject *%s;" % entry.pystring_cname)
......
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