fortran_g77.vim 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. " Vim compiler file
  2. " Compiler: g77 (GNU Fortran)
  3. " Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  4. " Last Change: $Date: 2004/06/13 18:17:36 $
  5. " $Revision: 1.1 $
  6. if exists("current_compiler")
  7. finish
  8. endif
  9. let current_compiler = "fortran_g77"
  10. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  11. command -nargs=* CompilerSet setlocal <args>
  12. endif
  13. let s:cpo_save = &cpo
  14. set cpo-=C
  15. " Note: The errorformat assumes GNU make
  16. " sample multiline errors (besides gcc backend one-liners):
  17. " gev.f:14:
  18. " parameter UPLO = 'Upper-triangle'
  19. " ^
  20. " Unsupported VXT statement at (^)
  21. " gev.f:6:
  22. " integer desca( * ), descb( * )
  23. " 1
  24. " gev.f:19: (continued):
  25. " end subroutine
  26. " 2
  27. " Invalid declaration of or reference to symbol `desca' at (2) [initially seen at (1)]
  28. CompilerSet errorformat=
  29. \%Omake:\ %r,
  30. \%f:%l:\ warning:\ %m,
  31. \%A%f:%l:\ (continued):,
  32. \%W%f:%l:\ warning:,
  33. \%A%f:%l:\ ,
  34. \%-C\ \ \ %p%*[0123456789^]%.%#,
  35. \%-C\ \ \ %.%#,
  36. \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
  37. \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
  38. \%DMaking\ %*\\a\ in\ %f,
  39. \%Z%m
  40. let &cpo = s:cpo_save
  41. unlet s:cpo_save