OSDN Git Service

PR c++/44443
[pf3gnuchains/gcc-fork.git] / gcc / cp / decl.h
index ed28714..a8a2b78 100644 (file)
@@ -1,5 +1,5 @@
 /* Variables and structures for declaration processing.
-   Copyright (C) 1993, 2000, 2002, 2004, 2005, 2007
+   Copyright (C) 1993, 2000, 2002, 2004, 2005, 2007, 2008
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -23,10 +23,12 @@ enum decl_context
 { NORMAL,                      /* Ordinary declaration */
   FUNCDEF,                     /* Function definition */
   PARM,                                /* Declaration of parm before function body */
+  TPARM,                        /* Declaration of template parm */
   CATCHPARM,                   /* Declaration of catch parm */
   FIELD,                       /* Declaration inside struct or union */
   BITFIELD,                    /* Likewise but with specified width */
   TYPENAME,                    /* Typename (inside cast or sizeof)  */
+  TEMPLATE_TYPE_ARG,           /* Almost the same as TYPENAME  */
   MEMFUNCDEF                   /* Member function definition */
 };