summaryrefslogtreecommitdiffstats
path: root/testsuite/parseko
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-02-19 17:45:50 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-02-19 17:45:50 -0500
commit489e3d510e3ed9bf4e3388084cc4de6e2749576a (patch)
tree3c9f0cc91b584e138ce39f37cfd15d5b62b0f43a /testsuite/parseko
parent83b38ce6107fc90de79e14edc0fea29d6dec7724 (diff)
downloadsystemtap-steved-489e3d510e3ed9bf4e3388084cc4de6e2749576a.tar.gz
systemtap-steved-489e3d510e3ed9bf4e3388084cc4de6e2749576a.tar.xz
systemtap-steved-489e3d510e3ed9bf4e3388084cc4de6e2749576a.zip
PR11208: glue adjacent string literals together.
* parse.cxx (lexer::scan): Glue adjacent strings together. * testsuite/parseko/twentyseven.stp, semok/thirtyfive.stp: New tests.
Diffstat (limited to 'testsuite/parseko')
-rwxr-xr-xtestsuite/parseko/twentyseven.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/parseko/twentyseven.stp b/testsuite/parseko/twentyseven.stp
new file mode 100755
index 00000000..39c9224a
--- /dev/null
+++ b/testsuite/parseko/twentyseven.stp
@@ -0,0 +1,4 @@
+#! stap -p1
+
+# PR 11208
+probe kernel.function ("sys_" /* this comment prevents string gluing */ "open") {}