This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11596] New: preprocessor oddity


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 '*'.)

-- 
           Summary: preprocessor oddity
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: dsmith at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11596

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]