Re: libcpp how-to question: Tokenizing and spaces & tabs - or special Fortran needs

2014-12-01 Thread N.M. Maclaren
On Dec 1 2014, Dodji Seketeli wrote: Just for the record -- as I am trimming the original post for legibility -- the initial message I am replying to can be read at https://gcc.gnu.org/ml/gcc/2014-11/msg00357.html. Tobias Burnus writes: Do you have a suggestion how to best implement this whi

Re: libcpp how-to question: Tokenizing and spaces & tabs – or special Fortran needs

2014-12-01 Thread Dodji Seketeli
[I have changed Tom Tromey's email address to his current one] Hello Tobias, Just for the record -- as I am trimming the original post for legibility -- the initial message I am replying to can be read at https://gcc.gnu.org/ml/gcc/2014-11/msg00357.html. Tobias Burnus writes: [...] > Do you h

libcpp how-to question: Tokenizing and spaces & tabs – or special Fortran needs

2014-11-29 Thread Tobias Burnus
BACKGROUND Currently, gfortran reads source files directly. If preprocessing is enabled, it calls libcpp directly but writes the preprocessed output into a temporary file, which is then read. In order to bring processing closer to the common code, show macro expansion in error messages and si