[webkit-dev] WebKitIDL syntax: semicolons

Seo Sanghyeon sanxiyn at gmail.com
Wed Mar 14 07:38:18 PDT 2012


An example at http://trac.webkit.org/wiki/WebKitIDL suggests that
interface definitions have semicolons after closing braces (like WebIDL),
while module definitions don't (unlike WebIDL).

Actual IDL files in the source tree seem to follow that, except following
4 files:

SVGAnimateColorElement.idl
SVGAnimateElement.idl
SVGAnimateTransformElement.idl
SVGAnimatedRect.idl

They have semicolons after module definitions but no semicolons
after interface definitions. (Found with a crude script. There may be more,
but I think the list is complete.)

It seems that the parser doesn't care, but is it okay to fix these
in the interest of consistency?

-- 
Seo Sanghyeon


More information about the webkit-dev mailing list