summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-10-20 11:11:19 -0400
committerElliott Baron <ebaron@toriamos.yyz.redhat.com>2008-10-20 11:11:19 -0400
commitfecccf83624c2f09207cd281f9efc272300e8e55 (patch)
treed5509bcee4798d90781cb6c1f7dc8741a32bc28a /elaborate.cxx
parent6b1730cb635b8d671bca8c3df173db3f1282ecdb (diff)
downloadsystemtap-steved-fecccf83624c2f09207cd281f9efc272300e8e55.tar.gz
systemtap-steved-fecccf83624c2f09207cd281f9efc272300e8e55.tar.xz
systemtap-steved-fecccf83624c2f09207cd281f9efc272300e8e55.zip
PR6851: Added support for %c printf conversion specifier [trying again]
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 9f0a2a74..e4251f2a 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1439,17 +1439,17 @@ systemtap_session::print_error (const semantic_error& e)
for (int i=0; i<2; i++)
{
stringstream message;
-
+
message << "semantic error: " << e.what ();
if (e.tok1 || e.tok2)
message << ": ";
- if (e.tok1)
+ if (e.tok1)
{
if (i == 0) print_token (message, e.tok1);
else message << *e.tok1;
}
message << e.msg2;
- if (e.tok2)
+ if (e.tok2)
{
if (i == 0) print_token (message, e.tok2);
else message << *e.tok2;
@@ -3903,6 +3903,7 @@ typeresolution_info::visit_print_format (print_format* e)
case print_format::conv_unsigned_uppercase_hex:
case print_format::conv_unsigned_lowercase_hex:
case print_format::conv_binary:
+ case print_format::conv_char:
case print_format::conv_memory:
wanted = pe_long;
break;