This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-163-g2e3f94c
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 21 May 2010 21:24:52 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-163-g2e3f94c
- Reply-to: systemtap at sourceware dot org
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 <jistone@redhat.com>
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 <jistone@redhat.com>
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