Still not fixed in CVS either. The options 'const-macros' or 'all-macros' change the way splint interprets macros. I think I had this set in a splintrc file that seemed to make the CVS version parse confname.h properly.
The problem is that splint does two scans of a file. The first replaces macros with an annotation to be scanned on the next pass. During this pass, the macro is added to a symbol table. On the 2nd pass, the macro is known on the enum parse and is 'replaced' before it is defined. There are many possible solutions, but the cscannerHelp_processIdentifier() function is rather complicated (possible to return NEW_IDENTIFIER) or possibly augment the' @QLMR' token handling to set an 'isSeen' value for symbols. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org