From 526f66e63f23afb40cc01550ca1a3a3592a84254 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Jul 2012 11:12:11 +0200 Subject: Use cxx_lexer interface instead of pragma_lex() directly This will allow us to use different kinds of cxx_lexer implementations in the future. --- odb/diagnostics.hxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'odb/diagnostics.hxx') diff --git a/odb/diagnostics.hxx b/odb/diagnostics.hxx index 9e676dc..a7dd575 100644 --- a/odb/diagnostics.hxx +++ b/odb/diagnostics.hxx @@ -32,14 +32,18 @@ warn (location_t); std::ostream& info (location_t); +// +// +class cxx_lexer; + std::ostream& -error (); +error (cxx_lexer&); std::ostream& -warn (); +warn (cxx_lexer&); std::ostream& -info (); +info (cxx_lexer&); // location_t macro wrappers. // -- cgit v1.1