indent(1): recognize more type names

Most are from C99.
This commit is contained in:
Piotr Pawel Stefaniak 2018-06-03 16:52:30 +00:00
parent 9522d0b0d2
commit 95b813e501
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334567

View File

@ -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},