Add missing parameter spotted by Jared Flatow

This commit is contained in:
Neal Norwitz 2008-03-17 18:03:56 +00:00
parent 8c1de8f33f
commit bda355ffe3
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class ASDLParser(spark.GenericParser, object):
" sum ::= constructor """ " sum ::= constructor """
return [constructor[0]] return [constructor[0]]
def p_sum_1(self, ): def p_sum_1(self, info):
" sum ::= constructor | sum " " sum ::= constructor | sum "
constructor, _, sum = info constructor, _, sum = info
return [constructor] + sum return [constructor] + sum