summaryrefslogtreecommitdiff
path: root/runtime/syntax/ayacc.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
commitb6b046b281fac168a78b3eafdea9274bef06882f (patch)
tree8d50c58421278f30521e290a8cf18c6085b78168 /runtime/syntax/ayacc.vim
parentdeaf7b739791095e2c98a7087dfe9b3c8dfd56f2 (diff)
downloadvim-b6b046b281fac168a78b3eafdea9274bef06882f.zip
Updated runtime files.
Diffstat (limited to 'runtime/syntax/ayacc.vim')
-rw-r--r--runtime/syntax/ayacc.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/ayacc.vim b/runtime/syntax/ayacc.vim
index be91e2f7e..fedd0e80a 100644
--- a/runtime/syntax/ayacc.vim
+++ b/runtime/syntax/ayacc.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: AYacc
" Maintainer: Mathieu Clabaut <mathieu.clabaut@free.fr>
-" LastChange: 02 May 2001
+" LastChange: 2011 Dec 25
" Original: Yacc, maintained by Dr. Charles E. Campbell, Jr.
" Comment: Replaced sourcing c.vim file by ada.vim and rename yacc*
" in ayacc*
@@ -22,6 +22,9 @@ else
unlet b:current_syntax
endif
+let s:cpo_save = &cpo
+set cpo&vim
+
" Clusters
syn cluster ayaccActionGroup contains=ayaccDelim,cInParen,cTodo,cIncluded,ayaccDelim,ayaccCurlyError,ayaccUnionCurly,ayaccUnion,cUserLabel,cOctalZero,cCppOut2,cCppSkip,cErrInBracket,cErrInParen,cOctalError
syn cluster ayaccUnionGroup contains=ayaccKey,cComment,ayaccCurly,cType,cStructure,cStorageClass,ayaccUnionCurly
@@ -83,4 +86,6 @@ endif
let b:current_syntax = "ayacc"
+let &cpo = s:cpo_save
+unlet s:cpo_save
" vim: ts=15