diff options
author | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2018-06-03 16:52:30 +0000 |
---|---|---|
committer | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2018-06-03 16:52:30 +0000 |
commit | 95b813e501c28571b59fee006dc86fc09b12222a (patch) | |
tree | 42eb85ac593e6177667f079a7c2dd626a15280b0 | |
parent | 9522d0b0d2c9418330de71422a6b4688cb000de6 (diff) | |
download | src-95b813e501c28571b59fee006dc86fc09b12222a.tar.gz src-95b813e501c28571b59fee006dc86fc09b12222a.zip |
indent(1): recognize more type names
Most are from C99.
Notes
Notes:
svn path=/head/; revision=334567
-rw-r--r-- | usr.bin/indent/lexi.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c index f8f7db9a0c59..f13c56faa8f4 100644 --- a/usr.bin/indent/lexi.c +++ b/usr.bin/indent/lexi.c @@ -74,11 +74,17 @@ struct templ { */ struct templ specials[] = { + {"_Bool", 4}, + {"_Complex", 4}, + {"_Imaginary", 4}, {"auto", 10}, + {"bool", 4}, {"break", 9}, {"case", 8}, {"char", 4}, + {"complex", 4}, {"const", 4}, + {"continue", 12}, {"default", 8}, {"do", 6}, {"double", 4}, @@ -90,12 +96,16 @@ struct templ specials[] = {"global", 4}, {"goto", 9}, {"if", 5}, + {"imaginary", 4}, + {"inline", 12}, {"int", 4}, {"long", 4}, {"offsetof", 1}, {"register", 10}, + {"restrict", 12}, {"return", 9}, {"short", 4}, + {"signed", 4}, {"sizeof", 2}, {"static", 10}, {"struct", 3}, |