From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15268 invoked by alias); 26 Jul 2012 15:25:59 -0000 Received: (qmail 15186 invoked by uid 9945); 26 Jul 2012 15:25:56 -0000 Date: Thu, 26 Jul 2012 15:25:00 -0000 Message-ID: <20120726152555.15172.qmail@sourceware.org> From: serhei@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-89-g534aad8 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: b30aefff27cccea3ed223a070bd75b660f890dcd X-Git-Newrev: 534aad8b89d52c2a83eac2087d8d2dcfa0eba92a Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2012-q3/txt/msg00042.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, master has been updated via 534aad8b89d52c2a83eac2087d8d2dcfa0eba92a (commit) via 10eb3c4103ef413f8397b025b3f7eb828c69cf32 (commit) from b30aefff27cccea3ed223a070bd75b660f890dcd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 534aad8b89d52c2a83eac2087d8d2dcfa0eba92a Author: Serguei Makarov Date: Thu Jul 26 11:02:42 2012 -0400 PR11207: initial implementation of macros (definitions visible in same file). This patch augments systemtap's preprocessor with a simple macro facility, as follows: @define add(a,b) %( ((@a)+(@b)) %) x = add(2,2) Further details are available in the comments on the preprocessor code, or in the proposal posted earlier on the mailing list. commit 10eb3c4103ef413f8397b025b3f7eb828c69cf32 Author: Serguei Makarov Date: Thu Jul 26 11:00:01 2012 -0400 PR11207: initial testsuite for macro feature. ----------------------------------------------------------------------- Summary of changes: parse.cxx | 404 ++++++++++++++++++++++++++++++++++++++-- parse.h | 1 + testsuite/parseko/macros01.stp | 3 + testsuite/parseko/macros02.stp | 3 + testsuite/parseko/macros03.stp | 3 + testsuite/parseko/macros04.stp | 3 + testsuite/parseko/macros05.stp | 4 + testsuite/parseko/macros06.stp | 4 + testsuite/parseko/macros07.stp | 4 + testsuite/parseko/macros08.stp | 4 + testsuite/parseko/macros09.stp | 5 + testsuite/parseko/macros10.stp | 5 + testsuite/parseko/macros11.stp | 6 + testsuite/parseok/macros01.stp | 3 + testsuite/parseok/macros02.stp | 3 + testsuite/parseok/macros03.stp | 3 + testsuite/parseok/macros04.stp | 3 + testsuite/parseok/macros05.stp | 11 + testsuite/parseok/macros06.stp | 5 + testsuite/parseok/macros07.stp | 5 + testsuite/parseok/macros08.stp | 11 + 21 files changed, 480 insertions(+), 13 deletions(-) create mode 100755 testsuite/parseko/macros01.stp create mode 100755 testsuite/parseko/macros02.stp create mode 100755 testsuite/parseko/macros03.stp create mode 100755 testsuite/parseko/macros04.stp create mode 100755 testsuite/parseko/macros05.stp create mode 100755 testsuite/parseko/macros06.stp create mode 100755 testsuite/parseko/macros07.stp create mode 100755 testsuite/parseko/macros08.stp create mode 100755 testsuite/parseko/macros09.stp create mode 100755 testsuite/parseko/macros10.stp create mode 100755 testsuite/parseko/macros11.stp create mode 100755 testsuite/parseok/macros01.stp create mode 100755 testsuite/parseok/macros02.stp create mode 100755 testsuite/parseok/macros03.stp create mode 100755 testsuite/parseok/macros04.stp create mode 100755 testsuite/parseok/macros05.stp create mode 100755 testsuite/parseok/macros06.stp create mode 100755 testsuite/parseok/macros07.stp create mode 100755 testsuite/parseok/macros08.stp hooks/post-receive -- systemtap: system-wide probe/trace tool