[Webkit-unassigned] [Bug 41613] Adds support for generating code from IDL with reserved keywords (it'll be necessary for IDBCursor::continue).

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 14 18:36:08 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41613





--- Comment #12 from Adam Barth <abarth at webkit.org>  2010-07-14 18:36:07 PST ---
> Perhaps a compromise would be just have an attribute like "[EscapeCppName]" in the IDL (making it explicit) but then letting the codegenerator (making it normative) do the actual escaping? how does that sound?

Yeah, something like [WebCoreName=continueDarnIt]

> For C++ reserved words.  The worse case is JS or other binding language reserved words in which case the error might only be seen in run time.

I feel like we should deal with that problem when we come to it.  Currently, all the code generators generate C++ code.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list