From: Carl Worth Date: Thu, 13 May 2010 17:41:53 +0000 (-0700) Subject: Add some whitespace variations to test 15. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27bc8930ba9ba67f2de29a03232a948316409ded;p=mesa.git Add some whitespace variations to test 15. This shows two minor failures in our current parsing (resulting in whitespace-only changes, oso not that significant): 1. We are inserting extra whitespace between tokens not originally separated by whitespace in the replacement list of a macro definition. 2. We are swallowing whitespace separating tokens in the general content. --- diff --git a/tests/015-define-object-with-parens.c b/tests/015-define-object-with-parens.c index 7dcadfa24fd..10bf7e31a34 100644 --- a/tests/015-define-object-with-parens.c +++ b/tests/015-define-object-with-parens.c @@ -1,2 +1,4 @@ #define foo ( ) 1 foo() +#define bar () 2 +bar( )