Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Rolled version; removed unused arguments.
  • Loading branch information
Justin Bailey committed Apr 11, 2013
1 parent ad00fd8 commit af5ebdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions palm/palmc/codegen.py
Expand Up @@ -183,7 +183,7 @@ def __str__(self):

# TODO -- submessages
for num, field in fields.iteritems():
write_field(name, scope, num, field, ns, packages, curr_package)
write_field(num, field, packages, curr_package)

out('''
TYPE_%s = %s
Expand All @@ -205,7 +205,7 @@ def write_field_get(num, type, name, default, scope):
return r % (num, scope, type, name)


def write_field(cname, parent, num, field, parent_ns, packages, curr_package):
def write_field(num, field, packages, curr_package):
req, type, name, default = field
if hasattr(ProtoBase, 'TYPE_%s' % type.typ):
scope = 'ProtoBase.'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -4,7 +4,7 @@

setup(
name="palm",
version="0.1.6",
version="0.1.6post1",
packages=["palm", "palm.palmc", ],
ext_modules=[Extension("palm.palm", sources=sourcefiles)],
install_requires=["simpleparse >=2.1"],
Expand Down

0 comments on commit af5ebdd

Please sign in to comment.