Commit c9d28865 by Doug Evans

(scan_for_missed_items): Add keywords: else, do, case.

From-SVN: r4197
parent 95e78909
...@@ -3983,7 +3983,7 @@ scan_for_missed_items (file_p) ...@@ -3983,7 +3983,7 @@ scan_for_missed_items (file_p)
{ {
char *func_name = (char *) alloca (id_length + 1); char *func_name = (char *) alloca (id_length + 1);
static const char * const stmt_keywords[] static const char * const stmt_keywords[]
= { "if", "while", "for", "switch", "return", 0 }; = { "if", "else", "do", "while", "for", "switch", "case", "return", 0 };
const char * const *stmt_keyword; const char * const *stmt_keyword;
strncpy (func_name, id_start, id_length); strncpy (func_name, id_start, id_length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment