From ff3ba2725e93021439d11194b878686a609be623 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 27 Sep 2003 09:44:55 +0000 Subject: [PATCH] Complete C keyword list. --- linebyline.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/linebyline.c b/linebyline.c index 86134f4..855c071 100644 --- a/linebyline.c +++ b/linebyline.c @@ -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. */ -- 2.43.0