Wojciech> Yes please, I would like to take a look, thanks. I attached the scripts. They have a few comments, but probably not enough, given that they are pretty much one-off hacks. (Though, funnily, today I'm going to repurpose one to rewrite gdb...) The appended patch is needed to get GCC to emit error locations on the `->' token when the token appears in the arguments to a macro. Wojciech> I am just not sure how efficiently and reliably branches work Wojciech> in bzr (I've managed to screw up some of my work once with Wojciech> bzr), and I am not sure how reliable are git mirrors. I quite Wojciech> like git, however there is a cost of troubles with integration Wojciech> with bzr. On other hand I find forking <-> merging Wojciech> unacceptable. I will try to mock something up, in the Wojciech> meantime. Yeah, bzr is a pain compared to git. But, we're stuck with it. Wojciech> BTW: If somebody would like to enlighten me on how reliably Wojciech> mirrored git works with the Emacs source tree, I would be Wojciech> grateful. Thanks. I think the mirror is updated regularly. I'm not using it myself, but I gather it works ok. Tom Index: macro.c =================================================================== --- macro.c (revision 164202) +++ macro.c (working copy) @@ -1350,7 +1350,7 @@ pfile->set_invocation_location = true; result = cpp_get_token (pfile); - if (pfile->context->macro) + if (pfile->context->macro && pfile->invocation_location > result->src_loc) *loc = pfile->invocation_location; else *loc = result->src_loc;