rc lint: Change flag symbols for lint errors and warnings.
As suggested in code review.
This commit is contained in:
parent
59e273c316
commit
9277121695
|
@ -133,7 +133,7 @@ define-command \
|
||||||
# Remember that an error or a warning occurs on this line..
|
# Remember that an error or a warning occurs on this line..
|
||||||
if ($4 ~ /[Ee]rror/) {
|
if ($4 ~ /[Ee]rror/) {
|
||||||
# We definitely have an error on this line.
|
# We definitely have an error on this line.
|
||||||
flags_by_line[$2] = "{Error}!"
|
flags_by_line[$2] = "{Error}x"
|
||||||
error_count++
|
error_count++
|
||||||
} else if (flags_by_line[$2] ~ /Error/) {
|
} else if (flags_by_line[$2] ~ /Error/) {
|
||||||
# We have a warning on this line,
|
# We have a warning on this line,
|
||||||
|
@ -142,7 +142,7 @@ define-command \
|
||||||
} else {
|
} else {
|
||||||
# We have a warning on this line,
|
# We have a warning on this line,
|
||||||
# and no previous error.
|
# and no previous error.
|
||||||
flags_by_line[$2] = "{Information}?"
|
flags_by_line[$2] = "{Information}!"
|
||||||
warning_count++
|
warning_count++
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user