parsing of msvc error

This commit is contained in:
Arvid Norberg 2013-06-17 08:33:21 +00:00
parent 3c7f907d97
commit 4dec6465f7
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ def style_output(o):
elif '**passed**' in l: elif '**passed**' in l:
ret += '<span class="test-pass">%s</span>\n' % l ret += '<span class="test-pass">%s</span>\n' % l
elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \ elif ': error: ' in l or ': fatal error: ' in l or ' : fatal error ' in l or \
'failed to write output file' in l: 'failed to write output file' in l or ') : error C' in l:
ret += '<span class="compile-error">%s</span>\n' % l ret += '<span class="compile-error">%s</span>\n' % l
elif ': warning: ' in l or ') : warning C' in l: elif ': warning: ' in l or ') : warning C' in l:
ret += '<span class="compile-warning">%s</span>\n' % l ret += '<span class="compile-warning">%s</span>\n' % l