Closed
Bug 528863
Opened 15 years ago
Closed 11 years ago
[HTML5] Use _h instead of _h__ in include guards in the HTML5 parser
Categories
(Core :: DOM: HTML Parser, enhancement, P4)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: hsivonen, Assigned: Cykesiopka)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
(deleted),
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
hsivonen
:
review+
|
Details | Diff | Splinter Review |
(Quoting dbaron from bug 514661 comment 25):
> Also, in general, in the include guards in your headers, you should end
> the names of the macros with only a single underscore, since all names
> with two consecutive underscores are reserved to the implementation.
> (See C++, [lib.global.names].)
This pattern occurs in every .h of the HTML5 parser. Replace _h__ with _h_ in every one of them.
Reporter | ||
Updated•15 years ago
|
Priority: -- → P4
Assignee | ||
Comment 1•11 years ago
|
||
Hi... What would be the necessary steps to fixing this bug?
I assume it involves patching https://hg.mozilla.org/projects/htmlparser/file/tip/translator-src/nu/validator/htmlparser/cpptranslate/HVisitor.java and patching the files under /parser/html in m-c...?
Thanks in advance!
Flags: needinfo?(hsivonen)
Updated•11 years ago
|
Summary: [HTML5] Use _h_ instead of _h__ in include guards in the HTML5 parser → [HTML5] Use _h instead of _h__ in include guards in the HTML5 parser
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Cykesiopka from comment #1)
> Hi... What would be the necessary steps to fixing this bug?
>
> I assume it involves patching
> https://hg.mozilla.org/projects/htmlparser/file/tip/translator-src/nu/
> validator/htmlparser/cpptranslate/HVisitor.java and patching the files under
> /parser/html in m-c...?
Correct.
Flags: needinfo?(hsivonen)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #793831 -
Flags: review?(hsivonen)
Assignee | ||
Comment 4•11 years ago
|
||
This was mostly done via mechanical search and replace as I unfortunately couldn't manage to run the translator...
Attachment #793833 -
Flags: review?(hsivonen)
Reporter | ||
Updated•11 years ago
|
Attachment #793833 -
Flags: review?(hsivonen) → review+
Reporter | ||
Updated•11 years ago
|
Attachment #793831 -
Flags: review?(hsivonen) → review+
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → cykesiopka.bmo
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Flags: in-testsuite-
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Assignee | ||
Comment 7•11 years ago
|
||
Could someone land attachment 793831 [details] [diff] [review] to https://hg.mozilla.org/projects/htmlparser as well? Thanks in advance!
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 8•11 years ago
|
||
(In reply to Cykesiopka from comment #7)
> Could someone land attachment 793831 [details] [diff] [review] to
> https://hg.mozilla.org/projects/htmlparser as well? Thanks in advance!
Landed: https://hg.mozilla.org/projects/htmlparser/rev/438214a02e11
Thanks.
Keywords: checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•