Skip to content

Commit

Permalink
fix #4 open quetion about parser rejects
Browse files Browse the repository at this point in the history
  • Loading branch information
rizsotto committed May 23, 2014
1 parent 4287b6a commit 4cdb619
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,7 @@ def run_analyzer(opts, continuation):
if (child.returncode & 127):
error_type = 'crash'
elif child.returncode:
# FIXME this might be controled by argument
error_type = 'parser_rejects' if False else 'attribute_ignored'
error_type = 'other_error'
else:
regexp = re.compile("warning: '([^\']+)' attribute ignored")
for line in output:
Expand Down

0 comments on commit 4cdb619

Please sign in to comment.