Bug 11596 - preprocessor oddity
Summary: preprocessor oddity
Status: RESOLVED DUPLICATE of bug 10025
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 15:46 UTC by David Smith
Modified: 2010-05-13 15:48 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Smith 2010-05-13 15:46:12 UTC
The following works fine:

====
%(kernel_v < "2.6.40" %?
probe end {}
%)
====

However, the following fails:

====
%(kernel_v < "2.6.40" %?
probe ioblock.* {}
%)
====

# stap -vp4 ../preprocessor.stp 
parse error: expected identifier or '*'
	saw: operator '*' at ../preprocessor.stp:2:15
     source: probe ioblock.* {}
                           ^
1 parse error(s).
Pass 1: parsed user script and 70 library script(s) using
33604virt/20496res/1604shr kb, in 170usr/20sys/202real ms.
Pass 1: parse failed.  Try again with another '--vp 1' option.

(If nothing else, the error message is very confusing, since it complains it
found a '*' while looking for a '*'.)
Comment 1 Frank Ch. Eigler 2010-05-13 15:48:46 UTC

*** This bug has been marked as a duplicate of 10025 ***