WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
140483
generate error use webkitIDL
https://bugs.webkit.org/show_bug.cgi?id=140483
Summary
generate error use webkitIDL
zhao
Reported
2015-01-14 17:05:44 PST
Created
attachment 244666
[details]
upload the latest script files in blinding directory I download the lasted version on webkit.org " Nightly
r174650
" I wanna generate the new code,but failed. so i download the idl file from official web "
http://trac.webkit.org/wiki/WebKitIDL
" module core { [ CustomToJSObject ] interface Node { const unsigned short ELEMENT_NODE = 1; attribute Node parentNode; [TreatReturnedNullStringAs=Null] attribute DOMString nodeName; [Custom] Node appendChild([CustomReturn] Node newChild); void addEventListener(DOMString type, EventListener listener, optional boolean useCapture); }; } my command is: ./generate-bindings.pl test.idl --generator JS --outputDir ../ --defines LANGUAGE_JAVASCRIPT In generate-bindings.pl, it asks the "targetIdlFile","generator"and "outputDir" must be setted. the error info: " Next token should be implements, but core at module core { IDLParser.pm:864 at IDLParser.pm line 142. in /home/jsc/scripts_2/test.idl at IDLParser.pm line 199. " i don't understand where it is error.
Attachments
upload the latest script files in blinding directory
(360.66 KB, application/octet-stream)
2015-01-14 17:05 PST
,
zhao
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug