diff options
author | root <root@toddy.(none)> | 2008-12-05 11:15:06 -0500 |
---|---|---|
committer | root <root@toddy.(none)> | 2008-12-05 11:15:06 -0500 |
commit | b58523345ea01d313672f6896b02b447b6d1d82a (patch) | |
tree | 93bdefeeca9c3db69c5d5804ec32524ead923155 /elaborate.cxx | |
parent | 3e122bea3dd507d0d355e4dead7fcbd73b72c0d9 (diff) | |
download | systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.tar.gz systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.tar.xz systemtap-steved-b58523345ea01d313672f6896b02b447b6d1d82a.zip |
PR7051: Remove broken printf %n directive support
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index edd4668d..ba1cb79c 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -1167,7 +1167,7 @@ void add_global_var_display (systemtap_session& s) || vut.written.find (l) == vut.written.end()) continue; - // Don't generate synthetic end probes for unread globals + // Don't generate synthetic end probes for unread globals // declared only within tapsets. (RHBZ 468139), but rather // only within the end-user script. @@ -3902,8 +3902,7 @@ typeresolution_info::visit_print_format (print_format* e) if (e->components[i].type == print_format::conv_unspecified) throw semantic_error ("Unspecified conversion in print operator format string", e->tok); - else if (e->components[i].type == print_format::conv_literal - || e->components[i].type == print_format::conv_size) + else if (e->components[i].type == print_format::conv_literal) continue; components.push_back(e->components[i]); ++expected_num_args; @@ -3945,7 +3944,6 @@ typeresolution_info::visit_print_format (print_format* e) { case print_format::conv_unspecified: case print_format::conv_literal: - case print_format::conv_size: assert (false); break; |