diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2010-02-19 17:45:50 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2010-02-19 17:45:50 -0500 |
commit | 489e3d510e3ed9bf4e3388084cc4de6e2749576a (patch) | |
tree | 3c9f0cc91b584e138ce39f37cfd15d5b62b0f43a /testsuite | |
parent | 83b38ce6107fc90de79e14edc0fea29d6dec7724 (diff) | |
download | systemtap-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')
-rwxr-xr-x | testsuite/parseko/twentyseven.stp | 4 | ||||
-rwxr-xr-x | testsuite/semok/thirtyfive.stp | 8 |
2 files changed, 12 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") {} diff --git a/testsuite/semok/thirtyfive.stp b/testsuite/semok/thirtyfive.stp new file mode 100755 index 00000000..325c90fb --- /dev/null +++ b/testsuite/semok/thirtyfive.stp @@ -0,0 +1,8 @@ +#! stap -p2 + +// PR11208 +probe kernel.function("sys""_""open") {} +probe kernel.function("sys" "_" "close") {} +probe kernel.function("p" + "a" "n" "i" + "c") {} |