diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 10:27:23 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 10:27:23 +0200 |
commit | 0603db21d2622588ab35389d3ddcaac7410c9f11 (patch) | |
tree | 4f97b4445fe53d17005550b9f5a1c2dd7cd80952 /odb/cxx-lexer.hxx | |
parent | c9ff2aaaf3cadcd1a80455cba426ffb12e62ce7b (diff) |
Recognize C++ keywords when parsing C++ expressions in pragmas
Diffstat (limited to 'odb/cxx-lexer.hxx')
-rw-r--r-- | odb/cxx-lexer.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/cxx-lexer.hxx b/odb/cxx-lexer.hxx index e5b117e..11f4070 100644 --- a/odb/cxx-lexer.hxx +++ b/odb/cxx-lexer.hxx @@ -72,6 +72,12 @@ public: virtual cpp_ttype next (std::string& token); + // This pragma-specific version of next() returns a token as a tree + // node. + // + cpp_ttype + next (tree& token); + private: std::string translate (); |