From bb2e3076ea20631d4606050550bc9664204f2c62 Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 8 Jun 2005 22:02:09 +0000 Subject: 2005-06-08 Frank Ch. Eigler 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. --- main.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index 6a9b70dc..da6200fe 100644 --- a/main.cxx +++ b/main.cxx @@ -224,6 +224,7 @@ main (int argc, char * const argv []) if (rc == 0 && last_pass > 2) rc = translate_pass (s); + s.op->line() << endl; delete s.op; return rc; -- cgit