From 443293aaf09eca7c3b88d621d056c4effee2c248 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2012 17:54:18 +0200 Subject: 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. --- tests/lexer/driver.cxx | 3 ++- tests/lexer/test-006.cli | 4 +++- tests/lexer/test-006.std | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/lexer') 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 +: +:: -- cgit