Expanded the size of the keyword table from 100 to 1000 entries so that

the number of typedef-names is not so limited.  Same as in rev.1.4.

Added the "const" and "volatile" to the keyword table.  Rev.1.4 added
these but they were misclassified so they were not formatted as types.
indent still doesn't really understand them.  E.g., it mangles
"char * const *foo" and "char *const *foo".  This change mainly stops
it mangling "char const foo" to "char<declaration-indent>const foo".
This commit is contained in:
bde 2004-02-09 13:13:03 +00:00
parent 49286bb39a
commit 219a6c0a9c

View File

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