summaryrefslogtreecommitdiff
path: root/editors/vile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-11-27 15:04:04 +0000
committeragc <agc@pkgsrc.org>2002-11-27 15:04:04 +0000
commit3003269e90e5945e5b95b170e0eddc1058f518d4 (patch)
tree7c96330bc7dd8da62dcd2d9249e4fb8dd394fce4 /editors/vile
parent504dd98b65209dc8f5de19a7725a59e1b8b01bfd (diff)
downloadpkgsrc-3003269e90e5945e5b95b170e0eddc1058f518d4.tar.gz
Make the colour syntax highlighting recognise a lot more of BSD makefiles
than it used to.
Diffstat (limited to 'editors/vile')
-rw-r--r--editors/vile/distinfo3
-rw-r--r--editors/vile/patches/patch-ac12
2 files changed, 14 insertions, 1 deletions
diff --git a/editors/vile/distinfo b/editors/vile/distinfo
index 7f0ffb27c4a..82b73339545 100644
--- a/editors/vile/distinfo
+++ b/editors/vile/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2002/11/27 10:45:04 agc Exp $
+$NetBSD: distinfo,v 1.4 2002/11/27 15:04:04 agc Exp $
SHA1 (vile-9.3.tgz) = 581efa183badd5c0abe68e118953229e2bb8403c
Size (vile-9.3.tgz) = 1474140 bytes
SHA1 (patch-aa) = a43641ec017b96c6d5999c5ad768e08f622b77e1
SHA1 (patch-ab) = 6ec9232a2b42e95f5a2b5c724deb3323d0a63cf3
+SHA1 (patch-ac) = f067b4dcfa24104218e21e65a1055a0d7207a7cc
diff --git a/editors/vile/patches/patch-ac b/editors/vile/patches/patch-ac
new file mode 100644
index 00000000000..7da91c16695
--- /dev/null
+++ b/editors/vile/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.3 2002/11/27 15:04:05 agc Exp $
+
+--- filters/makefilt.l 2002/11/27 14:53:02 1.1
++++ filters/makefilt.l 2002/11/27 14:54:49
+@@ -167,6 +167,7 @@
+
+ <NORMAL>^({SPACE}*{NAME}{SPACE}*|\\\n)+: { write_delimited(yytext, yyleng, Keyword_attr); }
+
++<NORMAL>^{SPACE}*{NAME}{SPACE}*[?+:!]= { write_delimited(yytext, yyleng - 1, Ident2_attr); }
+ <NORMAL>^{SPACE}*{NAME}{SPACE}*= { write_delimited(yytext, yyleng, Ident2_attr); }
+
+ <NORMAL>{MACRO} { WriteToken(Ident2_attr); }