Date: Sun, 3 Jun 2018 16:52:31 +0000 (UTC) From: Piotr Pawel Stefaniak <pstef@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334567 - head/usr.bin/indent Message-ID: <201806031652.w53GqVMW096263@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pstef Date: Sun Jun 3 16:52:30 2018 New Revision: 334567 URL: https://svnweb.freebsd.org/changeset/base/334567 Log: indent(1): recognize more type names Most are from C99. Modified: head/usr.bin/indent/lexi.c Modified: head/usr.bin/indent/lexi.c ============================================================================== --- head/usr.bin/indent/lexi.c Sun Jun 3 16:42:58 2018 (r334566) +++ head/usr.bin/indent/lexi.c Sun Jun 3 16:52:30 2018 (r334567) @@ -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},
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806031652.w53GqVMW096263>