danmar/cppcheck — pull request #76 by leg0 (2012-01-17 16:56:48+00:00)
Title: I fixed Ticket #3531

Here's a fix for Ticket #3531. It now parses the #define a bit better, but still not perfectly. I have left some XXX and TODO there for future reference.
If you have any complaints about the patch, I'll be happy to address them.