diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-26 17:01:57 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-26 17:01:57 -0700 |
commit | 7db2402a8009772a3f10d19cfc7f30be9ee79295 (patch) | |
tree | afa47ca72dc2395f01fa84ecab4ee36754bdaa70 /tests | |
parent | 95951ea7bb8728cf54ae4136cb59d0af9e8a06bd (diff) |
Add support (and test) for an object-to-function chain with the parens in the content.
That is, the following case:
#define foo(x) (x)
#define bar
bar(baz)
which now works with this (ugly) commit.
I definitely want to come up with something cleaner than this.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/055-define-chain-obj-to-func-parens-in-text.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/055-define-chain-obj-to-func-parens-in-text.c b/tests/055-define-chain-obj-to-func-parens-in-text.c new file mode 100644 index 0000000000..00f2c2346d --- /dev/null +++ b/tests/055-define-chain-obj-to-func-parens-in-text.c @@ -0,0 +1,3 @@ +#define failure() success +#define foo failure +foo() |