summaryrefslogtreecommitdiff
path: root/rld.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-08-04 09:50:56 +1000
committerChris Johns <chrisj@rtems.org>2014-08-04 09:50:56 +1000
commit81534626cc87c4c6b050f9166c0c75fd61d3d53e (patch)
treeeb23b7bd32e291e9365fb78c3f2d4639b4485a20 /rld.h
parent28884db485eba2b580d8da526e190f903b2e6174 (diff)
rtems-tld: Add recursive parsing of headers and defines.
Diffstat (limited to 'rld.h')
-rw-r--r--rld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rld.h b/rld.h
index e1cfbf5..70a6913 100644
--- a/rld.h
+++ b/rld.h
@@ -175,7 +175,7 @@ namespace rld
{
if (e.front () != e.back ())
throw rld::error ("invalid quoting", "string: " + s);
- e = e.substr (1, e.length () - 1);
+ e = e.substr (1, e.length () - (1 + 1));
}
}
if (empty || !e.empty ())