diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-12-10 10:25:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-20 13:15:54 +0000 |
commit | 94c916d7f09ca019cd6f96cd32e78960315645a1 (patch) | |
tree | 0d5f3568457255e772b1177ce5968307a779d209 /bitbake/contrib | |
parent | 32acddafc9ef08914e3982d1f00e22061cea3d99 (diff) | |
download | poky-94c916d7f09ca019cd6f96cd32e78960315645a1.tar.gz |
vim/syntax: Recognize ?? operator
(Bitbake rev: 5337ed86820ab0a2cbb3fd82eb11edb807c47f54)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/contrib')
-rw-r--r-- | bitbake/contrib/vim/syntax/bitbake.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/contrib/vim/syntax/bitbake.vim b/bitbake/contrib/vim/syntax/bitbake.vim index a06dd9e0ac..336e6bb15a 100644 --- a/bitbake/contrib/vim/syntax/bitbake.vim +++ b/bitbake/contrib/vim/syntax/bitbake.vim | |||
@@ -52,8 +52,8 @@ syn match bbExport "^export" nextgroup=bbIdentifier skipwhite | |||
52 | syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite | 52 | syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite |
53 | syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained | 53 | syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained |
54 | syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained | 54 | syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained |
55 | syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)" contained nextgroup=bbVarValue | 55 | syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)" contained nextgroup=bbVarValue |
56 | syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+]\+\(_[${}a-zA-Z0-9\-_\.\/\+]\+\)\?\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbVarDeref nextgroup=bbVarEq | 56 | syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+]\+\(_[${}a-zA-Z0-9\-_\.\/\+]\+\)\?\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|??=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbVarDeref nextgroup=bbVarEq |
57 | syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue | 57 | syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue |
58 | syn region bbVarPyValue start=+${@+ skip=+\\$+ excludenl end=+}+ contained contains=@python | 58 | syn region bbVarPyValue start=+${@+ skip=+\\$+ excludenl end=+}+ contained contains=@python |
59 | 59 | ||