diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-23 12:34:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-03-23 12:34:58 +0200 |
commit | 64ff415ed33a733f9a297b1526403bfb8f391c63 (patch) | |
tree | d0f02c10e2bc9c068538719186f0683e7743e314 /odb/odb.cxx | |
parent | 4867605e59aa35e588f6f812c42ea95dffc0bbb3 (diff) |
Semantic graph and parsing code
Currently covers/handles namespace, class definitions (including bases
and data members), and typedefs in namespace-scopes.
Diffstat (limited to 'odb/odb.cxx')
-rw-r--r-- | odb/odb.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx index fe6a0e4..1f8d516 100644 --- a/odb/odb.cxx +++ b/odb/odb.cxx @@ -253,7 +253,7 @@ plugin_path (string const& drv) for (size_t b (0), e (paths.find (':')); b != string::npos;) { - string p (paths, b, e - b); + string p (paths, b, e != string::npos ? e - b : e); // Empty path (i.e., a double colon or a colon at the beginning // or end of PATH) means search in the current dirrectory. |