Howdy y'all,

These patches add support for detecting C99 compound literals, and -W to
the compiler flags. I've also made the stylistic changes I mentioned
earlier, and added a fix related to the -as (align with spaces) option
which I added previously.

Enjoy!

Tim



Tim Hentenaar (6):
  handletoken: Detect C99 compound literals
  Don't cast the result of malloc() or realloc()
  Add -W (-Wextra) to AM_CFLAGS and fix resulting warnings
  Makefile.am: Fix clang again
  Update ChangeLog
  output.c:  Fix indentation of statements within if/for/while
    statements

catterer (1):
  Struct initializer lists: one more case

 ChangeLog                                  | 13 ++++-
 regression/TEST                            |  3 +-
 regression/input/align-with-spaces.c       | 16 ++++++
 regression/input/c99-compound-literal.c    |  6 +++
 regression/standard/align-with-spaces.c    | 16 ++++++
 regression/standard/c99-compound-literal.c |  7 +++
 src/Makefile.am                            |  6 +--
 src/args.c                                 |  6 +--
 src/backup.c                               |  8 +--
 src/code_io.c                              | 22 ++++----
 src/handletoken.c                          | 80 +++++++++++++-----------------
 src/indent.c                               | 12 +++--
 src/indent.h                               |  3 +-
 src/lexi.c                                 |  5 +-
 src/output.c                               | 30 +++++++++--
 src/parse.c                                | 33 ++++++------
 16 files changed, 169 insertions(+), 97 deletions(-)
 create mode 100644 regression/input/c99-compound-literal.c
 create mode 100644 regression/standard/c99-compound-literal.c

-- 
2.3.6


_______________________________________________
bug-indent mailing list
bug-indent@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to