diff options
author | Dave Brolley <brolley@redhat.com> | 2009-09-03 19:53:24 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-09-03 19:53:24 -0400 |
commit | a5d268f35032292b8f85cc75a316930ed0b95aab (patch) | |
tree | dd78d073ab80624478e77eebab3c5e9767524faa /parse.cxx | |
parent | 8402bcf68e5321b3459cbbbd27d5111bb184922e (diff) | |
parent | df56da84549816b15a1f7aea3c9f71de2b2001ad (diff) | |
download | systemtap-steved-a5d268f35032292b8f85cc75a316930ed0b95aab.tar.gz systemtap-steved-a5d268f35032292b8f85cc75a316930ed0b95aab.tar.xz systemtap-steved-a5d268f35032292b8f85cc75a316930ed0b95aab.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'parse.cxx')
-rw-r--r-- | parse.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -754,9 +754,8 @@ lexer::scan (bool wildcard) idx <= session.args.size()); // prevent overflow if (idx == 0 || idx-1 >= session.args.size()) - throw parse_error ("command line argument index " + lex_cast<string>(idx) - + " out of range [1-" + lex_cast<string>(session.args.size()) + "]", n); - + throw parse_error ("command line argument index " + lex_cast(idx) + + " out of range [1-" + lex_cast(session.args.size()) + "]", n); string arg = session.args[idx-1]; if (c == '$') input_put (arg); else input_put (lex_cast_qstring (arg)); |