Re: [PATCH] PR preprocessor/61817 - Fix location of tokens in built-in macro expansion list

2014-08-11 Thread Dodji Seketeli
Hello, I have initially sent a patch for this at https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01144.html. But then a patch for a similarly expressed issue https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01521.html (which I think is the same underlying problem) was committed. As the PR

[PATCH] PR preprocessor/61817 - Fix location of tokens in built-in macro expansion list

2014-07-16 Thread Dodji Seketeli
Hello, Consider this function-like macro definition in this inc.h file: ---inc.h--- #define F() const int line = __LINE__ ---8--- Now consider its use in a file test.c: --cat -n