This is the mail archive of the
systemtap-cvs@sources.redhat.com
mailing list for the systemtap project.
src ./parse.cxx ./parse.h ./semtest.cxx ./stap ...
- From: fche at sourceware dot org
- To: systemtap-cvs at sources dot redhat dot com
- Date: 5 May 2005 20:31:54 -0000
- Subject: src ./parse.cxx ./parse.h ./semtest.cxx ./stap ...
CVSROOT: /cvs/systemtap
Module name: src
Changes by: fche@sourceware.org 2005-05-05 20:31:54
Modified files:
. : parse.cxx parse.h semtest.cxx staptree.cxx
staptree.h ChangeLog
testsuite/parseok: two.stp
testsuite/semok: five.stp four.stp one.stp six.stp three.stp
two.stp
Log message:
* preliminaries for code generation logic
2005-05-05 Frank Ch. Eigler <fche@redhat.com>
* parse.cxx (parse): Add helper methods.
(lexer::scan, parse_assignment): Parse "<<<" operator. Fix assignment
associativity.
(parse_symbol): Permit function with empty arg list.
(parse_global, parse_statement, parse_functiondecl): Expect
unconsumed leading keyword.
(parse_global): Don't use ";" termination.
* parse.h: Corresponding changes.
* staptree.cxx (binary_expression::resolve_types): Fix <<<
type inference.
(translator_output): Improve pretty-printing.
(*): Add general visitors to statement/expression types.
* staptree.h: Corresponding changes. Tweak symresolution_info fields.
Add semantic_error class.
* semtest.cxx: Adapt to this.
* testsuite/parseok/two.stp, semok/*.stp: Adapt to syntax changes.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/parse.h.diff?cvsroot=systemtap&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/semtest.cxx.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/parseok/two.stp.diff?cvsroot=systemtap&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/five.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/four.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/one.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/six.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/three.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/testsuite/semok/two.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2