http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52952

--- Comment #25 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-05 
22:02:26 UTC ---
I am currently stuck on the three problems I described above and I cannot
figure out a way to fix any of them:

* How to reprocess tokens that need to be translated/have prefixes.

* The issue that the current token may get modified when we call cpp_get_token
next time (I could store the full token, but that seems a bit waste of memory).

* Cases like:

1: const str[] = "something %d";
2: printf(str);

where we don't have (or I cannot find) the location of "something %d".

Any ideas? 

I am also not sure if I implemented correctly the hash_table. 

Another possibility is to make the offset work only with simple strings, if
there is something strange, simply set the offset to zero. It is a poor
solution, but it is better than nothing.

Reply via email to