From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23096 invoked by alias); 21 May 2010 21:24:53 -0000 Received: (qmail 23070 invoked by uid 9586); 21 May 2010 21:24:52 -0000 Date: Fri, 21 May 2010 21:24:00 -0000 Message-ID: <20100521212452.23059.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-163-g2e3f94c X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3cfd512b9bf4cbbebd818980ab0ab3c25f636157 X-Git-Newrev: 2e3f94cfe9caf19783795d85334aeb660c27eefa 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: 2010-q2/txt/msg00111.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 2e3f94cfe9caf19783795d85334aeb660c27eefa (commit) via e92f2566001bc913724dbcda25a07e0e8c51418d (commit) from 3cfd512b9bf4cbbebd818980ab0ab3c25f636157 (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 2e3f94cfe9caf19783795d85334aeb660c27eefa Author: Josh Stone Date: Fri May 21 13:32:45 2010 -0700 PR10025: Test '*' operator vs. identifier while preprocessing * testsuite/parseok/preprocess-wildcard.stp: New commit e92f2566001bc913724dbcda25a07e0e8c51418d Author: Josh Stone Date: Wed May 19 18:02:04 2010 -0700 PR10025: Don't read ahead tokens within preprocessor blocks Since some aspects of the lexer are contextual, like wildcards in probepoint identifiers, we need to wait for the right context in the preprocessor rather than reading a bunch of tokens at once. * parse.h (parser): Replace enqueued_pp with a pp_state stack. * parse.cxx (parser::scan_pp): Use pp_state to decide if the current token should be kept or skipped, and transition states as the various %( %? %: %) are encountered. (parser::skip_pp): Helper to leap over skipped tokens. ----------------------------------------------------------------------- Summary of changes: parse.cxx | 186 ++++++++++++----------------- parse.h | 11 ++- testsuite/parseok/preprocess-wildcard.stp | 57 +++++++++ 3 files changed, 145 insertions(+), 109 deletions(-) create mode 100755 testsuite/parseok/preprocess-wildcard.stp hooks/post-receive -- systemtap: system-wide probe/trace tool