mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Update the WebIDL parser
Upstream doesn't allow downloading .tar.gz archives so update.sh was changed to use unzip.
This commit is contained in:
parent
6ab923c8e8
commit
4930479ac8
11 changed files with 533 additions and 204 deletions
|
@ -0,0 +1,11 @@
|
|||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -3490,7 +3490,7 @@ class IDLBuiltinType(IDLType):
|
||||
[self.location, attribute.location])
|
||||
assert not self.nullable()
|
||||
if not attribute.hasValue():
|
||||
- raise WebIDLError("[TreatNullAs] must take an identifier argument"
|
||||
+ raise WebIDLError("[TreatNullAs] must take an identifier argument",
|
||||
[attribute.location])
|
||||
value = attribute.value()
|
||||
if value != 'EmptyString':
|
Loading…
Add table
Add a link
Reference in a new issue