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:
parent
43a3abfd1e
commit
611e9fdbb4
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user