hp_acc.vim 1000 B

123456789101112131415161718192021222324252627282930313233343536
  1. " Vim compiler file
  2. " Compiler: HP aCC
  3. " Maintainer: Matthias Ulrich <matthias-ulrich@web.de>
  4. " URL: http://www.subhome.de/vim/hp_acc.vim
  5. " Last Change: 2012 Apr 30
  6. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  7. "
  8. " aCC --version says: "HP ANSI C++ B3910B A.03.13"
  9. " This compiler has been tested on:
  10. " hp-ux 10.20, hp-ux 11.0 and hp-ux 11.11 (64bit)
  11. "
  12. " Tim Brown's aCC is: "HP ANSI C++ B3910B A.03.33"
  13. " and it also works fine...
  14. "
  15. " Now suggestions by aCC are supported (compile flag aCC +w).
  16. " Thanks to Tim Brown again!!
  17. "
  18. if exists("current_compiler")
  19. finish
  20. endif
  21. let current_compiler = "hp_acc"
  22. let s:keepcpo= &cpo
  23. set cpo&vim
  24. CompilerSet errorformat=%A%trror\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m,
  25. \%A%tarning\ (suggestion)\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
  26. \%A%tarning\ %n\:\ \"%f\"\\,\ line\ %l\ \#\ %m\ %#,
  27. \%Z\ \ \ \ %p^%.%#,
  28. \%-C%.%#
  29. let &cpo = s:keepcpo
  30. unlet s:keepcpo
  31. " vim:ts=8:sw=4:cindent