From c675ba8086e6a7d23524ce3ad4eef3f49d910a8e Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 17 Oct 2013 20:25:02 -0400 Subject: [PATCH] Does this fix it? --- ftepp.c | 2 ++ tests/accumulate.qc | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ftepp.c b/ftepp.c index fe63fbf..36299b3 100644 --- a/ftepp.c +++ b/ftepp.c @@ -1513,6 +1513,8 @@ static bool ftepp_hash(ftepp_t *ftepp) case TOKEN_KEYWORD: case TOKEN_IDENT: case TOKEN_TYPENAME: + case TOKEN_ATTRIBUTE_CLOSE: + case TOKEN_ATTRIBUTE_OPEN: if (!strcmp(ftepp_tokval(ftepp), "define")) { ftepp_inmacro(ftepp, "define"); return ftepp_define(ftepp); diff --git a/tests/accumulate.qc b/tests/accumulate.qc index 008626d..46e0446 100644 --- a/tests/accumulate.qc +++ b/tests/accumulate.qc @@ -1,11 +1,9 @@ -void foo() { +[[accumulate]] void foo() { print("hello "); } - [[accumulate]] void foo() { print("accumulation "); } - [[accumulate]] void foo() { print("world\n"); } -- 2.39.2