Skip to content

Commit

Permalink
[AMD] New: add catastrophic error error type
Browse files Browse the repository at this point in the history
  • Loading branch information
petRUShka committed Nov 7, 2012
1 parent 851fd5c commit 5f5b510
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions syntax_checkers/opencl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ function! SyntaxCheckers_opencl_GetLocList()
let makeprg = 'clcc '.shellescape(expand('%'))

" NVIDIA driver format
let errorformat = '%E:%l:%c: error: %m,%-Z%p^\[ ~\]%#,'.
\'%W:%l:%c: warning: %m,%-Z%p^\[ ~\]%#,'.
\'%I:%l:%c: note: %m,%-Z%p^\[ ~\]%#,'
let errorformat = '%E:%l:%c: error: %m,%-Z%p^\[ ~\]%#,'.
\'%W:%l:%c: warning: %m,%-Z%p^\[ ~\]%#,'.
\'%I:%l:%c: note: %m,%-Z%p^\[ ~\]%#,'
" AMD driver format
let errorformat .= '%E"%f"\, line %l: error: %m,%-Z%p^,'.
\'%E"%f"\, line %l: error: %m,%+C%.%#,%-Z%p^,'.
\'%W"%f"\, line %l: warning: %m,%-C%.%#,'
let errorformat .= '%E"%f"\, line %l: catastrophic error: %m,%+C%.%#,%-Z%p^,'.
\'%E"%f"\, line %l: error: %m,%+C%.%#,%-Z%p^,'.
\'%W"%f"\, line %l: warning: %m,%-C%.%#,'
" Other lines should be hidden
let errorformat .= '%-G%.%#'

Expand Down

0 comments on commit 5f5b510

Please sign in to comment.