OSDN Git Service

(scan_for_missed_items): Add keywords: else, do, case.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 1993 18:00:18 +0000 (18:00 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Apr 1993 18:00:18 +0000 (18:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4197 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/protoize.c

index 858a0b0..cbcfd5c 100644 (file)
@@ -3983,7 +3983,7 @@ scan_for_missed_items (file_p)
                  {
                    char *func_name = (char *) alloca (id_length + 1);
                    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;
 
                    strncpy (func_name, id_start, id_length);