diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-07-15 01:48:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-07-15 01:48:40 +0000 |
commit | 60ec79e82e81aff60ed615162aa890a064b4cd8b (patch) | |
tree | a3530dbd9ceec77e25667f9104a94684c8e90ce8 /llvm/utils/vim/syntax | |
parent | e993a16d0a0a32045bb12518b5efab3557debfab (diff) | |
download | bcm5719-llvm-60ec79e82e81aff60ed615162aa890a064b4cd8b.tar.gz bcm5719-llvm-60ec79e82e81aff60ed615162aa890a064b4cd8b.zip |
[vim] Update the syntax to mark REQUIRES lines and not talk about
dejagnu.
I wonder if it would be useful to handle FileCheck prefixes specially?
Especially if we could get some error checking. Suggestions welcome.
Patches more welcome as I have no idea what I'm doing with vim
script....
llvm-svn: 242267
Diffstat (limited to 'llvm/utils/vim/syntax')
-rw-r--r-- | llvm/utils/vim/syntax/llvm.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/vim/syntax/llvm.vim b/llvm/utils/vim/syntax/llvm.vim index 913d0f5f1c3..0e2cbd3e646 100644 --- a/llvm/utils/vim/syntax/llvm.vim +++ b/llvm/utils/vim/syntax/llvm.vim @@ -84,10 +84,10 @@ syn match llvmConstant /\<DW_LANG_[a-zA-Z0-9_]\+\>/ syn match llvmConstant /\<DW_VIRTUALITY_[a-z_]\+\>/ syn match llvmConstant /\<DIFlag[A-Za-z]\+\>/ -" Syntax-highlight dejagnu test commands. -syn match llvmSpecialComment /;\s*RUN:.*$/ +" Syntax-highlight lit test commands and bug numbers. syn match llvmSpecialComment /;\s*PR\d*\s*$/ -syn match llvmSpecialComment /;\s*END\.\s*$/ +syn match llvmSpecialComment /;\s*REQUIRES:.*$/ +syn match llvmSpecialComment /;\s*RUN:.*$/ syn match llvmSpecialComment /;\s*XFAIL:.*$/ if version >= 508 || !exists("did_c_syn_inits") |