<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I will, thanks !<br><br>> Date: Tue, 11 Aug 2009 16:16:18 +0200<br>> From: cedric.venet@laposte.net<br>> To: makslane@hotmail.com<br>> CC: cfe-dev@cs.uiuc.edu<br>> Subject: Re: [cfe-dev] Function Rewriting<br>> <br>> <br>> ><br>> > "loc" is the location of the start of the identifier, not the location <br>> > of the end of the parameter declaration;  thus when you insert at that <br>> > point, it inserts before the variable name.  You want to insert after <br>> > the end of the variable declaration;  unfortunately, it looks like <br>> > that location just isn't preserved in the AST.  That's definitely <br>> > worth filing a bug about.<br>> <br>> I didn't respond earlier because I do not remember exactly the function <br>> to use. I do not think this is a bug, but a design decision. it is <br>> always only the start which is in the AST (for single token construct at <br>> least), to get the end of the token, use a Lex function lextoken or <br>> something like this. However, this is just my understanding. you can <br>> check how the caret diagnostic are generated, it will show you the good <br>> way to do what you want.<br>> <br>> regards,<br>> <br>> Cédric.<br><br /><hr />Instale o novo Internet Explorer 8 versão especial para o MSN.  <a href='http://ie8.msn.com/microsoft/internet-explorer-8/pt-br/ie8.aspx' target='_new'>Download aqui</a></body>
</html>