bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] add reserved words to htags


From: Hideki IWAMOTO
Subject: [PATCH] add reserved words to htags
Date: Sun, 16 Feb 2003 23:06:43 +0900

- Add C99 reserved words _Bool,_Complex,_Imaginary,inline,restrict.
- Add missing C++ reserved words asm,bool,const_cast,dynamic_cast,
  explicit,export,false,mutable,namespace,reinterpret_cast,static_cast,
  true,typeid,typename,using,wchar_t.

? htags/Makefile
? htags/Makefile.in
? htags/const.pl
? htags/htags
? htags/htags.1
Index: htags/htags.in
===================================================================
RCS file: /cvsroot/global/global/htags/htags.in,v
retrieving revision 1.93
diff -u -r1.93 htags.in
--- htags/htags.in      16 Feb 2003 09:53:13 -0000      1.93
+++ htags/htags.in      16 Feb 2003 13:58:38 -0000
@@ -103,13 +103,17 @@
 # Reserved words for C and Java are hard coded.
 # (configuration parameter 'reserved_words' was deleted.)
 #
-$'c_reserved_words =   
"auto,break,case,char,const,continue,default,do,double," .
+$'c89_reserved_words = 
"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";
-$'cpp_reserved_words = "catch,class,delete,friend,inline,new,operator," .
-               "private,protected,public,template,this,throw,try,virtual," .
-               $'c_reserved_words;
+$'c_reserved_words =   "_Bool,_Complex,_Imaginary,inline,restrict," .
+               $'c89_reserved_words;
+$'cpp_reserved_words = "asm,bool,catch,const_cast,class,delete,dynamic_cast," .
+               "explicit,export,false,friend,inline,mutable,namespace,new," .
+               
"operator,private,protected,public,reinterpret_cast,static_cast," .
+               
"template,this,throw,true,try,typeid,typename,using,virtual,wchar_t," .
+               $'c89_reserved_words;
 $'java_reserved_words  = "abstract,boolean,break,byte,case,catch,char,class," .
                "const,continue,default,do,double,else,extends,false," .
                "final,finally,float,for,goto,if,implements,import," .

----
Hideki IWAMOTO  address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]