#2 Preprocess some CPP tokens

closed
None
5
2001-12-22
2001-05-29
Mark Frazer
No

I'd like to be able to specify, on the command line, a
list of CPP symbols that would be processed by Ctags
before the tag file is generated.

For large projects, like the linux kernel, the location
of the initial definition of a function/variable
changes depending on some preprossor define such as
VERSION.

I'd like to pass -DVERSION=whatever in and have all #if
CPP conditionals honour that instead of using the
default #if rule of always taking the first case except
for #if 0

Discussion

  • Darren Hiebert

    Darren Hiebert - 2001-12-22
    • assigned_to: nobody --> dhiebert
    • status: open --> closed
     
  • Darren Hiebert

    Darren Hiebert - 2001-12-22

    Logged In: YES
    user_id=38016

    Sorry, but this will never be done. There are rarely reasons
    for this and the complexity is enormous as this would
    require a complete expression parser. This is far too much
    complexity for something of questionable benefit.

     

Log in to post a comment.