Hello Harmut,
So I am getting a sequence of tokens (line, column, value).
As the iteration over tokens progresses, so do the column and line values, as expected from left to
right and top to bottom. But if a macro like STD_BEGIN is encontered, the replacement (ie "namespace std {")
will bear the column and line values from the location where it is defined.
My goal is to insert '\n' characters in order to reconstruct the original line numbering in the output buffer.
The macro in this exemple makes it very difficult or is there any way to do this in a simple way ?
Thank you in advance if you can help
Ludovic Aubert