Synopsis - Issue Tracker

Bug31 Editing

Title MacroCalls incorrectly expanded
Created on 2004-07-20.01:49:28 by stefan, last changed 2008-01-22.01:43:26 by stefan.
assigned to stefan priority high
type behavior severity normal
components general platform
status closed resolution fixed
depends on superseded by
Add Comment:
File
CC List:? stefan

Messages
Author: stefan Date: 2004-07-20.01:49:27
The MacroCall type is used to remember macro calls
and the offset they induce in the input file stream (so cross-references that are injected into 
the source can be adjusted accordingly).

However, if the macro uses function call syntax,
the parens aren't correctly accounted for. In the
simple case of

#define FOO(x) x

this means the link is shifted by one to the left
(since the reported diff is 3, not 4), and for

#define FOO(x, y) y

it gets even worse...
Author: anonymous Date: 2006-08-31.03:15:10
this is a test entry to add some comments to the current history
History
Date User Action Args
2004-07-20 01:49:29stefancreate
2004-09-29 21:46:58anonymoussetcomponents: + general, - C++ parser, Cpp parser
2006-08-31 03:15:11anonymoussetmessages: + msg567
2008-01-22 01:43:28stefansetstatus: new
assignedto: (no value)
resolution: (no value)