From: Akim Demaille Date: Fri, 10 Oct 2008 15:04:23 +0000 (+0200) Subject: Test token.prefix. X-Git-Tag: v2.7.90~1026 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/7b6e67533e54ba06ffe69664dee57a39021d2b8d Test token.prefix. This is not sufficient, but we test at least that the make_SYMBOL interface is not affected by token.prefix. A more general test will be implemented when the support of token.prefix is generalized to more skeletons. * tests/c++.at: One more variant test, using token.prefix. --- diff --git a/ChangeLog b/ChangeLog index 8eb0ccde..70fd84d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-11-15 Akim Demaille + + Test token.prefix. + This is not sufficient, but we test at least that the make_SYMBOL + interface is not affected by token.prefix. A more general test + will be implemented when the support of token.prefix is generalized + to more skeletons. + + * tests/c++.at: One more variant test, using token.prefix. + 2008-11-15 Akim Demaille Test the make_TOKEN interface. diff --git a/tests/c++.at b/tests/c++.at index f0abad62..d236f619 100644 --- a/tests/c++.at +++ b/tests/c++.at @@ -195,6 +195,7 @@ AT_CHECK_VARIANTS([]) AT_CHECK_VARIANTS([%define assert]) AT_CHECK_VARIANTS([[%define assert %code {\n#define ONE_STAGE_BUILD\n}]]) AT_CHECK_VARIANTS([[%define assert %define lex_symbol %code {\n#define USE_LEX_SYMBOL\n}]]) +AT_CHECK_VARIANTS([[%define assert %define lex_symbol %code {\n#define USE_LEX_SYMBOL\n} %define token.prefix "TOK_"]]) ## ----------------------- ##