mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 1634864 - xpidl.xpidl.IDLError: error: Unexpected parameter attribute. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D73543
This commit is contained in:
parent
f3f5332bbc
commit
aebe7bbaed
@ -133,8 +133,9 @@ class Builtin(object):
|
||||
raise IDLError("Use string class types for string Array elements", self.location)
|
||||
|
||||
if const:
|
||||
print >>sys.stderr, IDLError(
|
||||
"[const] doesn't make sense on builtin types.", self.location, warning=True)
|
||||
print(IDLError(
|
||||
"[const] doesn't make sense on builtin types.",
|
||||
self.location, warning=True), file=sys.stderr)
|
||||
const = 'const '
|
||||
elif calltype == 'in' and self.isPointer():
|
||||
const = 'const '
|
||||
|
Loading…
x
Reference in New Issue
Block a user