update to knfmt-1.0.0

- handle and align x macros in brace initializers
- handle and align cpp macros in brace initializers
- allow enum declarations on a single line
- preserve new lines before comments and cpp declarations at end of a
  statement block
- only grow the buffer if more than half of the space is utilized
- do not let a cpp branch inside a struct declaration end the current
  scope of alignment
- long expressions in combination with optional new lines would not
  break under certain circumstances
This commit is contained in:
anton 2021-08-28 06:34:03 +00:00
parent ac59ca4e08
commit c6ced73632
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2021/08/18 06:11:49 anton Exp $
# $OpenBSD: Makefile,v 1.6 2021/08/28 06:34:03 anton Exp $
COMMENT = kernel normal form formatter
V = 0.5.4
V = 1.0.0
DISTNAME = knfmt-${V}
CATEGORIES = devel

View File

@ -1,2 +1,2 @@
SHA256 (knfmt-0.5.4.tar.gz) = sYw9deUxN9VKZBJzA7K1+FTyQbUkIehO/5T1qyhMtjg=
SIZE (knfmt-0.5.4.tar.gz) = 321949
SHA256 (knfmt-1.0.0.tar.gz) = CYpdgIzc29ZHX4CZvdAJup8IzqcFwj/72FB3qLZbEOo=
SIZE (knfmt-1.0.0.tar.gz) = 323268