summaryrefslogtreecommitdiff
path: root/ale_linters/fortran
diff options
context:
space:
mode:
authorDaan van Vugt <daanvanvugt@gmail.com>2017-02-14 12:01:12 +0100
committerDaan van Vugt <daanvanvugt@gmail.com>2017-02-14 14:31:31 +0100
commit68b6be57f13762e7efb33629d04bfbf249f88372 (patch)
treeee8f341c963a3d14b7025275d5f1d4eaf0ed9d2b /ale_linters/fortran
parentafd07302487b0a9138c0a6c6aa5de6b887a09576 (diff)
downloadale-68b6be57f13762e7efb33629d04bfbf249f88372.zip
Update line marker pattern for new gfortran
Add tests for GCC 4.1.2, 4.9.2 and 6.3.1
Diffstat (limited to 'ale_linters/fortran')
-rw-r--r--ale_linters/fortran/gcc.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/fortran/gcc.vim b/ale_linters/fortran/gcc.vim
index 73ec7886..8d15cc00 100644
--- a/ale_linters/fortran/gcc.vim
+++ b/ale_linters/fortran/gcc.vim
@@ -12,7 +12,7 @@ function! ale_linters#fortran#gcc#Handle(buffer, lines) abort
"
" :21.34:
" Error: Expected comma in I/O list at (1)
- let l:line_marker_pattern = '^:\(\d\+\)\.\(\d\+\):$'
+ let l:line_marker_pattern = ':\(\d\+\)[.:]\=\(\d\+\)\=:\=$'
let l:message_pattern = '^\(Error\|Warning\): \(.\+\)$'
let l:looking_for_message = 0
let l:last_loclist_obj = {}