summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/indent/lexi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c
index beceabd..d2d2c1c 100644
--- a/usr.bin/indent/lexi.c
+++ b/usr.bin/indent/lexi.c
@@ -64,7 +64,7 @@ struct templ {
int rwcode;
};
-struct templ specials[100] =
+struct templ specials[1000] =
{
{"switch", 1},
{"case", 2},
@@ -86,6 +86,8 @@ struct templ specials[100] =
{"global", 4},
{"extern", 4},
{"void", 4},
+ {"const", 4},
+ {"volatile", 4},
{"goto", 0},
{"return", 0},
{"if", 5},
OpenPOWER on IntegriCloud