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. --- cli/lexer.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/lexer.cxx') diff --git a/cli/lexer.cxx b/cli/lexer.cxx index baa8423..bf16ce5 100644 --- a/cli/lexer.cxx +++ b/cli/lexer.cxx @@ -155,7 +155,8 @@ next () get (); return token (token::p_dcolon, c.line (), c.column ()); } - break; + + return token (token::p_colon, c.line (), c.column ()); } case '{': { -- cgit v1.1