[Webkit-unassigned] [Bug 70107] Custom written CSS lexer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 2 03:32:17 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=70107
--- Comment #34 from Antti Koivisto <koivisto at iki.fi> 2012-01-02 03:32:16 PST ---
(In reply to comment #33)
> > > Source/WebCore/css/CSSParser.cpp:8032
> > > + // This is not a real loop, just allows us to avoid gotos.
> > > + while (true) {
> >
> > Where would the Goto be? I only see one break at the end. The body is a switch().
>
> It is for /* */ comments. See "case CharacterSlash". Although that is the only place, so we could change that to a goto if you prefer that.
I don't think WebKit has any sort of strict anti-goto policy. If goto is the most natural way to write this then you should just use it.
--
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