properly parse c++ errors that contain col nums

This commit is contained in:
marty 2010-10-04 10:37:08 +13:00
parent 4cedcf3ee7
commit 83b4fc6220

View File

@ -26,7 +26,7 @@ endif
function! SyntaxCheckers_cpp_GetLocList()
let makeprg = 'g++ -fsyntax-only '.shellescape(expand('%'))
let errorformat = '%-G%f:%s:,%f:%l: %m'
let errorformat = '%-G%f:%s:,%f:%l:%c: %m,%f:%l: %m'
if expand('%') =~? '\%(.h\|.hpp\|.hh\)$'
if exists('g:syntastic_cpp_check_header')