From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9504 invoked by alias); 5 May 2005 20:31:54 -0000 Mailing-List: contact systemtap-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sources.redhat.com List-Archive: Received: (qmail 9490 invoked by uid 426); 5 May 2005 20:31:54 -0000 Date: Thu, 05 May 2005 20:31:00 -0000 Message-ID: <20050505203154.9488.qmail@sourceware.org> From: fche@sourceware.org To: systemtap-cvs@sources.redhat.com Subject: src ./parse.cxx ./parse.h ./semtest.cxx ./stap ... X-SW-Source: 2005-q2/txt/msg00049.txt.bz2 List-Id: 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 * 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