diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-20 11:12:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-27 10:30:15 +0200 |
commit | 526f66e63f23afb40cc01550ca1a3a3592a84254 (patch) | |
tree | f17fd648c4c1e11838b413c6de91ff61693c0480 /odb/diagnostics.hxx | |
parent | 0a6a2fe64508497d287aa3341e667fe313912774 (diff) |
Use cxx_lexer interface instead of pragma_lex() directly
This will allow us to use different kinds of cxx_lexer implementations
in the future.
Diffstat (limited to 'odb/diagnostics.hxx')
-rw-r--r-- | odb/diagnostics.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
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. // |