diff options
author | fche <fche> | 2005-09-03 16:52:41 +0000 |
---|---|---|
committer | fche <fche> | 2005-09-03 16:52:41 +0000 |
commit | 6a505121fc997e6f21d26f8c8656f99e58faaaab (patch) | |
tree | a40bb598454cf046c55c54ddfb46f83492fbdcb9 /testsuite/semok/seven.stp | |
parent | d9e1dc7a03b0341bc924ba4a008a31676dbc9510 (diff) | |
download | systemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.tar.gz systemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.tar.xz systemtap-steved-6a505121fc997e6f21d26f8c8656f99e58faaaab.zip |
2005-09-03 Frank Ch. Eigler <fche@elastic.org>
PR 1292, by popular request.
* parse.cxx (parse_functiondecl): Allow optional value/param type
declarations.
* stap.1.in: Document this.
* tapset/*.stp: Convert most functions accordingly.
* testsuite/parseok/twelve.stp, semok/seven.stp,
semko/twenty.stp: Test this.
Diffstat (limited to 'testsuite/semok/seven.stp')
-rwxr-xr-x | testsuite/semok/seven.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/semok/seven.stp b/testsuite/semok/seven.stp index 73264923..f0b248bd 100755 --- a/testsuite/semok/seven.stp +++ b/testsuite/semok/seven.stp @@ -2,8 +2,8 @@ global ar1, ar2 -function string (v) { num=v+0; return "stringify me" } # to become a built-in -function printk (s) { str=s.""; return 0 } # to become a built-in +function string:string (v:long) { } # to become a built-in +function printk (s:string) { return 0 } # to become a built-in function search (key) { |