summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind/vgrindefs.src
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-10-15 18:58:45 +0000
committerjoerg <joerg@FreeBSD.org>1996-10-15 18:58:45 +0000
commit901db635de07cb72ef8cd5a40920e3d30b797d3e (patch)
tree3db8881a857a8518de2c9b4f300bd379b2a470f4 /usr.bin/vgrind/vgrindefs.src
parent5beb18abc1bf4877517b42f429521cb88ccb29e3 (diff)
downloadFreeBSD-src-901db635de07cb72ef8cd5a40920e3d30b797d3e.zip
FreeBSD-src-901db635de07cb72ef8cd5a40920e3d30b797d3e.tar.gz
Wow!, i finally found a usable vgrind definition for Perl.
Diffstat (limited to 'usr.bin/vgrind/vgrindefs.src')
-rw-r--r--usr.bin/vgrind/vgrindefs.src11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.bin/vgrind/vgrindefs.src b/usr.bin/vgrind/vgrindefs.src
index 91ef58f..becf773 100644
--- a/usr.bin/vgrind/vgrindefs.src
+++ b/usr.bin/vgrind/vgrindefs.src
@@ -144,3 +144,14 @@ C++|c++:\
ifdef ifndef include undef defined\
class const delete friend inline new operator overload private\
protected public virtual:
+#
+# Hack alert: defining function calls as `alternate comments' (ab/ae) seems
+# to be the only way to avoid major confusion inside vfontedpr for calls like:
+# &packagename'function;
+#
+Perl|perl|pl:\
+ :pb=sub\d\p\d:bb={:be=}:cb=#:ce=$:tl:\
+ :ab=&:ae=(;|\d|,):\
+ :sb=":se=(\e"|$):lb=':le=(\e'|$):\
+ :kw=do if unless while until else elsif for foreach continue\
+ next redo sub last goto return die exit require:
OpenPOWER on IntegriCloud