I would like to have a macro that produce something like L17
, where 17
is the line number when the macro is invoked. However the following only produce L__LINE__
#define STOP L##__LINE__
Wonder if there is a way to make the __LINE__
evaluate before concatenation.