Brendon Costa wrote:
Hi all,
I am trying to obtain location information (file, line) for a number
of expr nodes (CALL_EXPR, THROW_EXPR and ADDR_EXPR) and it seems that
every expression node i call EXPR_HAS_LOCATION on returns false.
If it returns true i then use: EXPR_LINENO(), EXPR_FILENAM
Steven Bosscher wrote:
On 11/17/06, Brendon Costa <[EMAIL PROTECTED]> wrote:
Is there something i should be doing before using EXPR_HAS_LOCATION() ?
Compile with -g, perhaps?
I tried that and it didnt seem to make any difference.
On 11/17/06, Brendon Costa <[EMAIL PROTECTED]> wrote:
Is there something i should be doing before using EXPR_HAS_LOCATION() ?
Compile with -g, perhaps?
Gr.
Steven
Hi all,
I am trying to obtain location information (file, line) for a number of
expr nodes (CALL_EXPR, THROW_EXPR and ADDR_EXPR) and it seems that every
expression node i call EXPR_HAS_LOCATION on returns false.
If it returns true i then use: EXPR_LINENO(), EXPR_FILENAME() to obtain
the requ