comparison runtime/compiler/hp_acc.vim @ 3496:d1e4abe8342c

Fixed compatible mode in most runtime files.
author Bram Moolenaar <bram@vim.org>
date Mon, 30 Apr 2012 15:56:52 +0200
parents 862863033fdd
children e1df51f68736
comparison
equal deleted inserted replaced
3495:0973ed3043c6 3496:d1e4abe8342c
1 " Vim compiler file 1 " Vim compiler file
2 " Compiler: HP aCC 2 " Compiler: HP aCC
3 " Maintainer: Matthias Ulrich <matthias-ulrich@web.de> 3 " Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
4 " URL: http://www.subhome.de/vim/hp_acc.vim 4 " URL: http://www.subhome.de/vim/hp_acc.vim
5 " Last Change: 2005 Nov 19 5 " Last Change: 2012 Apr 30
6 " 6 "
7 " aCC --version says: "HP ANSI C++ B3910B A.03.13" 7 " aCC --version says: "HP ANSI C++ B3910B A.03.13"
8 " This compiler has been tested on: 8 " This compiler has been tested on:
9 " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit) 9 " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit)
10 " 10 "
17 17
18 if exists("current_compiler") 18 if exists("current_compiler")
19 finish 19 finish
20 endif 20 endif
21 let current_compiler = "hp_acc" 21 let current_compiler = "hp_acc"
22 let s:keepcpo= &cpo
23 set cpo&vim
22 24
23 if exists(":CompilerSet") != 2 " older Vim always used :setlocal 25 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
24 command -nargs=* CompilerSet setlocal <args> 26 command -nargs=* CompilerSet setlocal <args>
25 endif 27 endif
26 28
28 \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, 30 \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
29 \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#, 31 \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
30 \%Z\ \ \ \ %p^%.%#, 32 \%Z\ \ \ \ %p^%.%#,
31 \%-C%.%# 33 \%-C%.%#
32 34
35 let &cpo = s:keepcpo
36 unlet s:keepcpo
37
33 " vim:ts=8:sw=4:cindent 38 " vim:ts=8:sw=4:cindent