From 5319caaaeae475878fdf31d48c021c7039b037db Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 1 Jan 2014 12:16:19 +0100 Subject: [PATCH] definite -> last keyword; testcase updated too --- parser.c | 2 +- tests/{final.qc => last.qc} | 2 +- tests/{final.tmpl => last.tmpl} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename tests/{final.qc => last.qc} (53%) rename tests/{final.tmpl => last.tmpl} (54%) diff --git a/parser.c b/parser.c index 6af6e5e..1be38a6 100644 --- a/parser.c +++ b/parser.c @@ -2822,7 +2822,7 @@ static bool parse_qualifiers(parser_t *parser, bool with_local, int *cvq, bool * { "inline", AST_FLAG_INLINE }, { "eraseable", AST_FLAG_ERASEABLE }, { "accumulate", AST_FLAG_ACCUMULATE }, - { "definite", AST_FLAG_FINAL_DECL } + { "last", AST_FLAG_FINAL_DECL } }; *cvq = CV_NONE; diff --git a/tests/final.qc b/tests/last.qc similarity index 53% rename from tests/final.qc rename to tests/last.qc index e55599a..86c5c48 100644 --- a/tests/final.qc +++ b/tests/last.qc @@ -1,3 +1,3 @@ float here; -final float here; +[[last]] float here; float here; diff --git a/tests/final.tmpl b/tests/last.tmpl similarity index 54% rename from tests/final.tmpl rename to tests/last.tmpl index b754123..c88b7d7 100644 --- a/tests/final.tmpl +++ b/tests/last.tmpl @@ -1,5 +1,5 @@ -I: final.qc -D: final keyword +I: last.qc +D: last attribute T: -fail C: -std=gmqcc F: -no-defs -- 2.39.2