Boost logo

Boost Users :

From: Ludovic Aubert (ludo.aubert_at_[hidden])
Date: 2007-06-07 16:57:26


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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net