1 |
Author: darkside |
2 |
Date: 2009-01-24 22:00:03 +0000 (Sat, 24 Jan 2009) |
3 |
New Revision: 58 |
4 |
|
5 |
Modified: |
6 |
trunk/gentoo-syntax/syntax/gentoo-make-conf.vim |
7 |
Log: |
8 |
Don't mark LDFLAGS as an error in make.conf, patch by Erik Hahn in bug 253401 |
9 |
|
10 |
Modified: trunk/gentoo-syntax/syntax/gentoo-make-conf.vim |
11 |
=================================================================== |
12 |
--- trunk/gentoo-syntax/syntax/gentoo-make-conf.vim 2009-01-24 21:44:39 UTC (rev 57) |
13 |
+++ trunk/gentoo-syntax/syntax/gentoo-make-conf.vim 2009-01-24 22:00:03 UTC (rev 58) |
14 |
@@ -17,7 +17,7 @@ |
15 |
|
16 |
runtime syntax/gentoo-common.vim |
17 |
|
18 |
-syn cluster GentooMakeConfEC add=GentooMakeConfEUse,GentooMakeConfEAK,GentooMakeConfECFLAGS,GentooMakeConfEMAKEOPTS,GentooMakeConfECHOST,GentooMakeConfEFEATURES,GentooMakeConfEMISC,GentooMakeConfEMISCK,GentooMakeConfEMISCKE,GentooMakeConfEMISCN |
19 |
+syn cluster GentooMakeConfEC add=GentooMakeConfEUse,GentooMakeConfEAK,GentooMakeConfECFLAGS,GentooMakeConfELDFLAGS,GentooMakeConfEMAKEOPTS,GentooMakeConfECHOST,GentooMakeConfEFEATURES,GentooMakeConfEMISC,GentooMakeConfEMISCK,GentooMakeConfEMISCKE,GentooMakeConfEMISCN |
20 |
syn region GentooMakeConfE start=/^/ end=/$/ contains=@GentooMakeConfEC,GentooMakeConfComment |
21 |
|
22 |
" MISC {{{ |
23 |
@@ -104,6 +104,20 @@ |
24 |
hi def link GentooMakeConfECFLAGSIX Preproc |
25 |
" }}} |
26 |
|
27 |
+" LDFLAGS {{{ |
28 |
+syn match GentooMakeConfELDFLAGS /LDFLAGS/ contained nextgroup=GentooMakeConfELDFLAGSE skipwhite |
29 |
+syn match GentooMakeConfELDFLAGSE /=/ contained nextgroup=GentooMakeConfELDFLAGSV,GentooMakeConfELDFLAGSVNoQ skipwhite |
30 |
+syn cluster GentooMakeConfELDFLAGSIC add=GentooMakeConfELDFLAGSIB1,GentooMakeConfELDFLAGSIB2,GentooMakeConfELDFLAGSIB3,GentooMakeConfELDFLAGSIX |
31 |
+syn region GentooMakeConfELDFLAGSV contained start=/"/ end=/"/ contains=@GentooMakeConfELDFLAGSIC |
32 |
+syn match GentooMakeConfELDFLAGSIX /\\.\|\$\({[^}]\+}\|[a-zA-Z0-9\-\_]\+\)/ contained |
33 |
+syn region GentooMakeConfELDFLAGSVNoQ contained start=/[^ "]/ end=/\s\|$/ contains=GentooMakeConfELDFLAGSIX |
34 |
+ |
35 |
+hi def link GentooMakeConfELDFLAGS Identifier |
36 |
+hi def link GentooMakeConfELDFLAGSV String |
37 |
+hi def link GentooMakeConfELDFLAGSVNoQ Constant |
38 |
+hi def link GentooMakeConfELDFLAGSIX Preproc |
39 |
+" }}} |
40 |
+ |
41 |
" MAKEOPTS {{{ |
42 |
syn match GentooMakeConfEMAKEOPTS /MAKEOPTS/ contained nextgroup=GentooMakeConfEMAKEOPTSE skipwhite |
43 |
syn match GentooMakeConfEMAKEOPTSE /=/ contained nextgroup=GentooMakeConfEMAKEOPTSV skipwhite |