summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/eleven.stp
Commit message (Collapse)AuthorAgeFilesLines
* Permit chained unary operatorsJosh Stone2010-02-241-1/+7
| | | | | | | | The operand of a unary may be yet another unary. This is useful for things like boolean normalization, !!x. * parse.cxx (parser::parse_unary): Recurse the operand. * testsuite/parseok/eleven.stp: Add chained unary operators.
* more glitches from joshfche2006-02-141-0/+3
|
* 2005-06-08 Frank Ch. Eigler <fche@redhat.com>fche2005-06-081-0/+54
systemtap/916 Implement all basic scalar operators, including modify-assignment. * parse.cxx (lexer): Allow multi-character lookahead in order to scan 1/2/3-character operators. (parse_boolean_or/and/xor/shift): New routines. * translate.cxx (visit_assignment, visit_binary_expression, visit_*_crement): Generally rewrote. (visit_*): Added more parentheses in output. (emit_module_init): Initialize globals. * staptree.h, elaborate.cxx, elaborate.h: Remove exponentiation. * main.cxx (main): Add an end-of-line to output file. * testsuite/*: Several new tests.