From 90d59daa8f3f7f00b95421b41c7ab7cdd2a435d7 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 8 Aug 2021 18:05:31 +0800 Subject: [PATCH] Trivial elaboration for attributes --- src/elab.c | 2 ++ test/regress/testlist.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/elab.c b/src/elab.c index be29bc11..8272261a 100644 --- a/src/elab.c +++ b/src/elab.c @@ -2048,6 +2048,8 @@ static void elab_decls(tree_t container, elab_ctx_t *ctx) case T_VAR_DECL: case T_PROT_BODY: case T_FILE_DECL: + case T_ATTR_DECL: + case T_ATTR_SPEC: break; default: fatal_trace("cannot elaborate decl kind %s", diff --git a/test/regress/testlist.txt b/test/regress/testlist.txt index af396db7..fb55849d 100644 --- a/test/regress/testlist.txt +++ b/test/regress/testlist.txt @@ -305,7 +305,7 @@ issue234 normal,gold #issue227 normal,gold #real3 normal,gold for3 normal,gold -#issue197 normal +issue197 normal #issue225 normal,gold issue262 normal #issue284 normal -- 2.39.2