From 68b6be57f13762e7efb33629d04bfbf249f88372 Mon Sep 17 00:00:00 2001 From: Daan van Vugt Date: Tue, 14 Feb 2017 12:01:12 +0100 Subject: Update line marker pattern for new gfortran Add tests for GCC 4.1.2, 4.9.2 and 6.3.1 --- ale_linters/fortran/gcc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/fortran/gcc.vim') 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 = {} -- cgit v1.2.3