]> thyrsus.com Git - comparator.git/commitdiff
Complete C keyword list.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 27 Sep 2003 09:44:55 +0000 (09:44 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 27 Sep 2003 09:44:55 +0000 (09:44 +0000)
linebyline.c

index 86134f4f6235e46a3b30bedc0996fbfb2152cf9c..855c071579881e696d65d5d994e9bd0f1a5fa42a 100644 (file)
@@ -26,10 +26,12 @@ static char *c_patterns[] = {
     " NOTREACHED ", 
     " FALL *THRO?UG?H? ",
     /* Bare C keywords */
-    " auto ", " break ",  " case "," continue ", " default ", " do ", " else ",
-    " enum ", " if ", " goto "," return ", " switch ", " while ", " int ",
-    " long ", " short ", " static ", " struct ", " typedef ", " union ", 
-    " void ",
+    " auto ", " break ",  " case ", "char", " const ", " continue ", 
+    " default ", " do ", " double ", " else ", " enum ", " extern ",
+    " float ", " for ", " goto ", " if ", " int ", " long ", " register ",
+    " return ", " short ", " signed ", " sizeof ", " static ", " struct ", 
+    " switch ", " typedef ", " union ", " unsigned ", " void ",
+    " volatile ", " while ",
     /* Preprocessor constructs (# has already been stripped) */
     "^ define"," endif"," else", " ifdef "," ifndef ",
     /* Common preprocessor macros, not significant by themselves. */