summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/twelve.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR6466: broad side-effect free statement elisionFrank Ch. Eigler2008-04-291-2/+2
|
* 2005-06-05 Frank Ch. Eigler <fche@elastic.org>fche2005-06-051-0/+6
Implement for/next/continue/break/while statements. * staptree.h: Declare new 0-arity statement types. Tweak for_loop. * parse.cxx: Parse them all. * translate.cxx (c_unparser): Maintain break/continue label stack. (visit_for_loop, *_statement): New implementations. * elaborate.*, staptree.cxx: Mechanical changes. * testsuite/parseok/ten.stp, semko/twelve.stp, transko/two.stp, transok/five.stp: New tests.