[Webkit-unassigned] [Bug 63392] Indirectly including TextPosition.h and XPathGrammar.h causes compile errors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 26 07:32:55 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=63392
--- Comment #4 from Adam Barth <abarth at webkit.org> 2011-06-26 07:32:55 PST ---
> Supporting both 1-based and 0-based offsets is a particularly bad idea.
I'm not sure we have much of an option in that regard. The point of TextPosition is for the C++ type checker to help us avoid off-by-one bugs with 1-based and 0-based line numbering systems. If you see a way to switch to only a 1-based or 0-based line numbering scheme, please write a patch.
(The style issues, of course, should be fixed.)
--
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