diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-10 17:54:18 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-05-10 17:54:18 +0200 |
commit | 443293aaf09eca7c3b88d621d056c4effee2c248 (patch) | |
tree | a35c7b2354295b5b73462c0806e04e2deef58171 /tests/lexer | |
parent | 4f9022f24c4591391637121c7274d9855b37bd93 (diff) |
Implement option class inheritance
For now multiple, non-virtual inheritance is supported. An option class
can now also be declared abstract using the class c = 0 {...}; syntax.
New option, --exclude-base, controls whether base class information is
present in usage and documentation.
Diffstat (limited to 'tests/lexer')
-rw-r--r-- | tests/lexer/driver.cxx | 3 | ||||
-rw-r--r-- | tests/lexer/test-006.cli | 4 | ||||
-rw-r--r-- | tests/lexer/test-006.std | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/tests/lexer/driver.cxx b/tests/lexer/driver.cxx index 20dbf9d..9f5ac9e 100644 --- a/tests/lexer/driver.cxx +++ b/tests/lexer/driver.cxx @@ -28,7 +28,8 @@ const char* keywords[] = "double" }; -const char* punctuation[] = {";", ",", "::", "{", "}", /*"(", ")",*/ "=", "|"}; +const char* punctuation[] = { + ";", ",", ":", "::", "{", "}", /*"(", ")",*/ "=", "|"}; int main (int argc, char* argv[]) diff --git a/tests/lexer/test-006.cli b/tests/lexer/test-006.cli index 706f0f2..d67cea7 100644 --- a/tests/lexer/test-006.cli +++ b/tests/lexer/test-006.cli @@ -11,4 +11,6 @@ baz */ "b"; - /* a a a*/ 5 -// eos
\ No newline at end of file +// eos +: +:: diff --git a/tests/lexer/test-006.std b/tests/lexer/test-006.std index 65f47cc..82709e0 100644 --- a/tests/lexer/test-006.std +++ b/tests/lexer/test-006.std @@ -4,4 +4,6 @@ -5 ; -5 +: +:: <EOS> |