Remove additional whitespaces from the macro tokens
authorLars Knoll <lars.knoll@digia.com>
Thu, 22 Nov 2012 08:13:14 +0000 (09:13 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 Nov 2012 16:04:00 +0000 (17:04 +0100)
commit863e44a42bb91d9e2ba8024dfa594ecebe9d3b58
tree69154da1c8aacd4ad6bc49ff45873133f7d83b68
parent43619db05d55ca619dac11fdb7327b2b45507cb9
Remove additional whitespaces from the macro tokens

According to the spec, we should ignore whitespace tokens
at the beginning and end of the macro definition. In addition,
whitespaces after a # and around ## should be ignored

Change-Id: I830d0f4aaed3bcfac345d7da6df65693ec3315b8
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/tools/moc/preprocessor.cpp