Fix warning suppression in MRI 1.9.3

This commit is contained in:
Frank Schumacher 2012-07-19 11:25:49 +02:00
parent 6e2b7dd190
commit 0f73bbaf14

View File

@ -22,7 +22,7 @@ function! SyntaxCheckers_ruby_GetLocList()
" foo.should == 'bar' " foo.should == 'bar'
" "
"which always generate the warning below "which always generate the warning below
let errorformat = '%-G%.%#warning: useless use of == in void context' let errorformat = '%-G%.%#warning: possibly useless use of == in void context'
let errorformat .= ',%-GSyntax OK,%E%f:%l: syntax error\, %m,%Z%p^,%W%f:%l: warning: %m,%Z%p^,%W%f:%l: %m,%-C%.%#' let errorformat .= ',%-GSyntax OK,%E%f:%l: syntax error\, %m,%Z%p^,%W%f:%l: warning: %m,%Z%p^,%W%f:%l: %m,%-C%.%#'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })