darobin / webidl.js

DEPRECATED — Use https://github.com/darobin/webidl2.js instead
http://berjon.com/
26 stars 10 forks source link

two issues parsing the webGL spec with webIDLParser.js #5

Open RicoP opened 12 years ago

RicoP commented 12 years ago

When parsing https://www.khronos.org/registry/webgl/specs/1.0/webgl.idl I get two issues which are easily to fix.

First in Line 33. WebIDLParser can't handle the line "typedef long long GLintptr;". Changin it to "typedef long GLintptr;" works however.

Second issue in Line 507: WebGLParser doesn't like the space in "DOMString[ ]". Changing it to "DOMString[]" (No space between the brackets) helps.

Thank you and have a nice day.