Add style checks to check_GNU_style.sh.
authorMartin Sebor <msebor@redhat.com>
Mon, 7 Mar 2016 17:01:44 +0000 (17:01 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Mon, 7 Mar 2016 17:01:44 +0000 (10:01 -0700)
commit55a82b661e036bab010d916f5bb60c0b6d279f3c
tree504ef735be3e4a39b29f39608ed088cd28f85a3b
parentb7b528a43b115446011dffec7dca81be302018c6
Add style checks to check_GNU_style.sh.

gcc/contrib/ChangeLog:
2016-03-07  Martin Sebor  <msebor@redhat.com>

* check_GNU_style.sh (color): New global variable.
Add checks for trailing operators and spaces before left brackets.
Tightened up a check for a trailing left curly brace.
(g, ag, vg): Use color.
(col): Don't complain about excessively long lines with DejaGnu
directives.

From-SVN: r234035
contrib/ChangeLog
contrib/check_GNU_style.sh