public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/11596] New: preprocessor oddity
@ 2010-05-13 17:16 dsmith at redhat dot com
  2010-05-13 17:27 ` [Bug translator/11596] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2010-05-13 17:16 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/11596] preprocessor oddity
  2010-05-13 17:16 [Bug translator/11596] New: preprocessor oddity dsmith at redhat dot com
@ 2010-05-13 17:27 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2010-05-13 17:27 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-05-13 15:48 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-13 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-13 17:16 [Bug translator/11596] New: preprocessor oddity dsmith at redhat dot com
2010-05-13 17:27 ` [Bug translator/11596] " fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).