Make the colour syntax highlighting recognise a lot more of BSD makefiles

than it used to.
This commit is contained in:
agc 2002-11-27 15:04:04 +00:00
parent 504dd98b65
commit 3003269e90
2 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -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); }