[cfe-commits] [PATCH] Lexer for structured comments

Dmitri Gribenko gribozavr at gmail.com
Tue Jun 26 13:42:50 PDT 2012


On Tue, Jun 26, 2012 at 1:21 PM, Douglas Gregor <dgregor at apple.com> wrote:
> That doesn't prohibit having a single "Custom" AST node kind that has some sort of dynamic discriminator in it. Clang itself would have to ignore them, but, if we're going to have custom parsers, they'll need to be able to record their results somewhere (?). Anyway, this is me speculating far in the potential future.

Oh, now I see.  A good idea.

> Yes, go ahead and commit.

r159223.

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




More information about the cfe-commits mailing list