SOURCES: spec.vim - still works
glen
glen at pld-linux.org
Thu Mar 13 20:13:13 CET 2008
Author: glen Date: Thu Mar 13 19:13:13 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- still works
---- Files affected:
SOURCES:
spec.vim (1.73 -> 1.74)
---- Diffs:
================================================================
Index: SOURCES/spec.vim
diff -u SOURCES/spec.vim:1.73 SOURCES/spec.vim:1.74
--- SOURCES/spec.vim:1.73 Thu Mar 13 20:06:14 2008
+++ SOURCES/spec.vim Thu Mar 13 20:13:08 2008
@@ -221,11 +221,11 @@
syn region specIf matchgroup=specBlock start="%ifosf\|%ifos\|%ifnos\|%ifarch\|%ifnarch\|ifdef\|ifndef\|%if\|%else" end='%endif' contains=ALLBUT, specOutSkip
" %if 0 handing
-syn region specOut start="^\s*%if\s\+0\+\>" end=".\@=\|$" contains=specOut2
+syn region specOut start="^\s*%if\s\+0\+\>" end="$" contains=specOut2
syn region specOut2 contained start="0" end="^\s*%\(endif\>\|else\>\)" contains=specOutSkip
"syn region specOut start="^\s*%if\s\+0\+\>" end="^\s*%\(endif\>\|else\>\)" contains=specOutSkip
- "
+
syn region specOutSkip contained start="^\s*%if\>" skip="\\$" end="^\s*%endif\>" contains=specOutSkip
syn sync match specIfSync grouphere specIf "%if\|%ifarch\|%ifos\|%ifnos"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/spec.vim?r1=1.73&r2=1.74&f=u
More information about the pld-cvs-commit
mailing list