[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Test token.prefix.
From: |
Akim Demaille |
Subject: |
[PATCH] Test token.prefix. |
Date: |
Sat, 15 Nov 2008 13:30:13 -0000 |
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.
---
ChangeLog | 10 ++++++++++
tests/c++.at | 1 +
2 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8eb0ccd..70fd84d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2008-11-15 Akim Demaille <address@hidden>
+ 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 <address@hidden>
+
Test the make_TOKEN interface.
* tests/c++.at (AT_CHECK_VARIANTS): Require and use locations.
Factor the common code in yylex.
diff --git a/tests/c++.at b/tests/c++.at
index f0abad6..d236f61 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_"]])
## ----------------------- ##
--
1.6.0.2.588.g3102
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Test token.prefix.,
Akim Demaille <=