Bug 1317180, part 6 - Removed some unused arguments from TypeSpec ctor. r=billm

--HG--
extra : rebase_source : 5f695d6f40cf1e3ba562fcf3a4938945ff8f3acb
This commit is contained in:
Andrew McCreight 2016-11-14 10:57:43 -08:00
parent d5d74e48b0
commit 219ef41aa4

View File

@ -406,14 +406,13 @@ class Param(Node):
self.typespec = typespec
class TypeSpec(Node):
def __init__(self, loc, spec, array=0, nullable=0,
myChmod=None, otherChmod=None):
def __init__(self, loc, spec):
Node.__init__(self, loc)
self.spec = spec # QualifiedId
self.array = array # bool
self.nullable = nullable # bool
self.myChmod = myChmod # None or string
self.otherChmod = otherChmod # None or string
self.array = 0 # bool
self.nullable = 0 # bool
self.myChmod = None # None or string
self.otherChmod = None # None or string
def basename(self):
return self.spec.baseid