[cfe-commits] [PATCH] Comment parsing: resolve HTML character references (e.g., & -> &)
Dmitri Gribenko
gribozavr at gmail.com
Wed Jul 25 14:38:57 PDT 2012
Hello,
The attached patches implement resolving of HTML character references
(named: &, decimal: *, hex: ) during comment parsing.
With these patches in place, internal representation of plain text in
comment AST will not contain character references, but the characters
themselves.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convert-unicode-code-point-to-utf8-v1.patch
Type: application/octet-stream
Size: 2975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120725/4ee309ab/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: character-references-v1.patch
Type: application/octet-stream
Size: 23305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120725/4ee309ab/attachment-0001.obj>
More information about the cfe-commits
mailing list