This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
src ./ChangeLog ./parse.cxx ./staptree.cxx ./s ...
- From: fche at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 12 Dec 2005 17:39:53 -0000
- Subject: src ./ChangeLog ./parse.cxx ./staptree.cxx ./s ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: fche@sourceware.org 2005-12-12 17:39:53
Modified files:
. : ChangeLog parse.cxx staptree.cxx staptree.h
translate.cxx
testsuite/buildok: printf.stp
Added files:
testsuite/parseok: unparser.stp
Log message:
2005-12-12 Frank Ch. Eigler <fche@redhat.com>
Fix parse tree pretty-printer.
* staptree.h (print_format): Add raw_components field.
* parse.cxx (parse_symbol): Set it.
* staptree.cxx (lex_cast_qstring): Copy it here too.
(binary_expression::print): Add a space around operator, due to
lexical ambiguity (expr % paren-expr) vs %( preprocessor op.
(array_in:: foreach_loop:: arrayindex::print): Print base as indexable.
(print_format::string_to_components): Use parse_error, not semantic.
(print_format::print): Properly quote formatting string. Print
histogram argument.
* translate.cxx (visit_print_format): Properly quote formatting string.
(varlock): Reword lock timeout error message.
* testsuite/buildok/printf.stp: Add some quoting troublemakers.
* testsuite/parseok/unparser.stp: New file.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.259&r2=1.260
http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.37&r2=1.38
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.38&r2=1.39
http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.82&r2=1.83
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/buildok/printf.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/parseok/unparser.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1