summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemyslaw@pawelczyk.it>2009-08-28 02:11:47 +0200
committerJosh Stone <jistone@redhat.com>2009-08-28 11:21:24 -0700
commit2d7881bf6e14d14fa1394f65f11b4d1dce4e2623 (patch)
tree85ca79b32737d42779c3b02fe0d290f6f9f25579 /stap.1.in
parenta4433a9da1f21c6536266531308ba231e5efae81 (diff)
downloadsystemtap-steved-2d7881bf6e14d14fa1394f65f11b4d1dce4e2623.tar.gz
systemtap-steved-2d7881bf6e14d14fa1394f65f11b4d1dce4e2623.tar.xz
systemtap-steved-2d7881bf6e14d14fa1394f65f11b4d1dce4e2623.zip
Support || and && in preprocessor's conditions.
* parse.cxx (parser::scan_pp): Add || and &&. * stap.1.in: Document || and && in PREPROCESSING. * testsuite/parseok/twenty.stp: Test case. * testsuite/parseko/preprocess14.stp: Ditto. * testsuite/parseko/preprocess15.stp: Ditto. Signed-off-by: Josh Stone <jistone@redhat.com>
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/stap.1.in b/stap.1.in
index aafd2d7d..3ac1c398 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -309,7 +309,10 @@ ternary operator:
.ESAMPLE
The CONDITION is either an expression whose format is determined by its
first keyword, or a string literals comparison or a numeric literals
-comparison.
+comparison. It can be also composed of many alternatives and conjunctions
+of CONDITIONs (meant as in previous sentence) using || and && respectively.
+However, parentheses are not supported yet, so remembering that conjunction
+takes precedence over alternative is important.
.PP
If the first part is the identifier
.BR kernel_vr " or " kernel_v