[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
Thu Jul 15 03:31:42 PDT 2010


--- Comment #14 from Marcus Bulach <bulach at chromium.org>  2010-07-15 03:31:42 PST ---
(In reply to comment #12)
> > 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]

hmm, but in this case the "DarnIt" suffix would be ad hoc..

granted, it wouldn't be that common, but I'd prefer to establish an enforced rule in the generator rather than discuss what suffix should be used.
just to be clear, I'm happy with DarnIt ;) but the attribute should be [EscapeWebCoreNameDarnIt] :)
no options allowed, more straightforward code reviews.
how does it sound?

> > 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