fortran_g77.vim 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  6. " $Revision: 1.1 $
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "fortran_g77"
  11. let s:cpo_save = &cpo
  12. set cpo-=C
  13. " Note: The errorformat assumes GNU make
  14. " sample multiline errors (besides gcc backend one-liners):
  15. " gev.f:14:
  16. " parameter UPLO = 'Upper-triangle'
  17. " ^
  18. " Unsupported VXT statement at (^)
  19. " gev.f:6:
  20. " integer desca( * ), descb( * )
  21. " 1
  22. " gev.f:19: (continued):
  23. " end subroutine
  24. " 2
  25. " Invalid declaration of or reference to symbol `desca' at (2) [initially seen at (1)]
  26. CompilerSet errorformat=
  27. \%Omake:\ %r,
  28. \%f:%l:\ warning:\ %m,
  29. \%A%f:%l:\ (continued):,
  30. \%W%f:%l:\ warning:,
  31. \%A%f:%l:\ ,
  32. \%-C\ \ \ %p%*[0123456789^]%.%#,
  33. \%-C\ \ \ %.%#,
  34. \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
  35. \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
  36. \%DMaking\ %*\\a\ in\ %f,
  37. \%Z%m
  38. let &cpo = s:cpo_save
  39. unlet s:cpo_save