aboutsummaryrefslogtreecommitdiffstats
path: root/incdec.m4.pl
diff options
context:
space:
mode:
authorTeddy Wing2021-08-24 20:10:29 +0200
committerTeddy Wing2021-08-24 20:10:29 +0200
commitd704b029c93adec24c3d2556974e8947b15ad2a0 (patch)
treef9d505ff963cd2ef8af74fb5e38fe95a264ea3b0 /incdec.m4.pl
parentb4ab3e4b5ed6346a0a05dc0c43bf9bcb5e892e1d (diff)
downloadreadline-incdec-d704b029c93adec24c3d2556974e8947b15ad2a0.tar.bz2
Rename `incdec.pl.m4` to `incdec.m4.pl`
Like we did for the `incdec.m4` Bash include, rename the Perl M4 file to give it a `.pl` extension so we get Perl syntax highlighting. Similarly define an include macro so quoting doesn't mess up highlighting.
Diffstat (limited to 'incdec.m4.pl')
-rw-r--r--incdec.m4.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/incdec.m4.pl b/incdec.m4.pl
new file mode 100644
index 0000000..46e9a7e
--- /dev/null
+++ b/incdec.m4.pl
@@ -0,0 +1,4 @@
+INCLUDE_INCDEC_SUBROUTINE
+
+my $output = incdec($line, $increment_by, $point_position, $backward);
+print $output;