Cleanup codacity and missing consts.

This commit is contained in:
Wilson Snyder
2020-05-28 21:04:36 -04:00
parent 5ee4595aa8
commit ebda8f866c
4 changed files with 45 additions and 43 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ public:
ps_STRIFY
};
static const char* procStateName(ProcState s) {
static const char* states[]
static const char* const states[]
= {"ps_TOP", "ps_DEFNAME_UNDEF", "ps_DEFNAME_DEFINE",
"ps_DEFNAME_IFDEF", "ps_DEFNAME_IFNDEF", "ps_DEFNAME_ELSIF",
"ps_DEFFORM", "ps_DEFVALUE", "ps_DEFPAREN",