Fix a couple issues with syntax files

This commit is contained in:
Zachary Yedidia
2017-02-18 13:54:30 -05:00
parent 5bee5d8588
commit 0f7ed208c1
3 changed files with 4 additions and 6 deletions
File diff suppressed because one or more lines are too long
+1 -3
View File
@@ -8,7 +8,7 @@ rules:
- preproc: "\\<(ifeq|ifdef|ifneq|ifndef|else|endif)\\>"
- statement: "^(export|include|override)\\>"
- operator: "^[^:= ]+:"
- operator: "[=,%]" "\\+=|\\?=|:=|&&|\\|\\|"
- operator: "([=,%]|\\+=|\\?=|:=|&&|\\|\\|)"
- statement: "\\$\\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
- statement: "\\$\\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
- statement: "\\$\\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
@@ -33,5 +33,3 @@ rules:
start: "#"
end: "$"
rules: []
# color comment "^ @#.*" <-- ?
+1 -1
View File
@@ -13,4 +13,4 @@ rules:
start: "<!--"
end: "-->"
rules: []
special: "&[^;]*;"
- special: "&[^;]*;"