]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment change.
authorRichard M. Stallman <rms@gnu.org>
Thu, 29 Nov 2001 00:49:32 +0000 (00:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 29 Nov 2001 00:49:32 +0000 (00:49 +0000)
lisp/obsolete/c-mode.el
lisp/obsolete/cplus-md.el

index ae17183a2c2f927d89a7d7fff63d6ace4b914ef8..7224f251ecfcee392f39ff1dfd07cf6aa55fb4ae 100644 (file)
@@ -244,59 +244,59 @@ regardless of where in the line point is when the TAB command is used."
     ;; Example of generic expression for finding prototypes, structs, unions, enums.
     ;; Uncomment if you want to find these too.  It will be a bit slower gathering
     ;; the indexes.
-                                ;    ("Prototypes"
-                                ;     (,
-                                ;      (concat
-                                ;       "^"                              ; beginning of line is required
-                                ;       "\\(template[ \t]*<[^>]+>[ \t]*\\)?" ; there may be a "template <...>"
-                                ;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"    ; type specs; there can be no
-                                ;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"    ; more than 3 tokens, right?
-
-                                ;       "\\("                            ; last type spec including */&
-                                ;       "[a-zA-Z0-9_:]+"
-                                ;       "\\([ \t]*[*&]+[ \t]*\\|[ \t]+\\)"       ; either pointer/ref sign or whitespace
-                                ;       "\\)?"                           ; if there is a last type spec
-                                ;       "\\("                        ; name; take that into the imenu entry
-                                ;       "[a-zA-Z0-9_:~]+"                    ; member function, ctor or dtor...
-                                ;                                      ; (may not contain * because then
-                                ;                                      ; "a::operator char*" would become "char*"!)
-                                ;       "\\|"
-                                ;       "\\([a-zA-Z0-9_:~]*::\\)?operator"
-                                ;       "[^a-zA-Z1-9_][^(]*"         ; ...or operator
-                                ;       " \\)"
-                                ;       "[ \t]*([^)]*)[ \t\n]*;"       ; require ';' after
-                                ;                                      ; the (...) Can't
-                                ;                                      ; catch cases with () inside the parentheses
-                                ;                                      ; surrounding the parameters
-                                ;                                      ; (like "int foo(int a=bar());"
-                                ;       )) 6)
-                                ;    ("Struct"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "struct[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
-                                ;    ("Enum"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "enum[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
-                                ;    ("Union"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "union[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
+;;;    ("Prototypes"
+;;;     (,
+;;;      (concat
+;;;       "^"                            ; beginning of line is required
+;;;       "\\(template[ \t]*<[^>]+>[ \t]*\\)?" ; there may be a "template <...>"
+;;;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"          ; type specs; there can be no
+;;;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"          ; more than 3 tokens, right?
+
+;;;       "\\("                                  ; last type spec including */&
+;;;       "[a-zA-Z0-9_:]+"
+;;;       "\\([ \t]*[*&]+[ \t]*\\|[ \t]+\\)"     ; either pointer/ref sign or whitespace
+;;;       "\\)?"                                 ; if there is a last type spec
+;;;       "\\("                              ; name; take that into the imenu entry
+;;;       "[a-zA-Z0-9_:~]+"                  ; member function, ctor or dtor...
+;;;                                    ; (may not contain * because then
+;;;                                    ; "a::operator char*" would become "char*"!)
+;;;       "\\|"
+;;;       "\\([a-zA-Z0-9_:~]*::\\)?operator"
+;;;       "[^a-zA-Z1-9_][^(]*"       ; ...or operator
+;;;       " \\)"
+;;;       "[ \t]*([^)]*)[ \t\n]*;"     ; require ';' after
+;;;                                    ; the (...) Can't
+;;;                                    ; catch cases with () inside the parentheses
+;;;                                    ; surrounding the parameters
+;;;                                    ; (like "int foo(int a=bar());"
+;;;       )) 6)
+;;;    ("Struct"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "struct[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
+;;;    ("Enum"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "enum[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
+;;;    ("Union"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "union[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
     )
   "Imenu generic expression for C mode.  See `imenu-generic-expression'.")
 \f
index 7b7e3c4d26bfaa224562af17d6c3332422990b1e..5eb219da6b42c9860013e423b2b3ef9e12ac381b 100644 (file)
@@ -211,59 +211,59 @@ list.  Nil indicates to just after the paren."
     ;; Example of generic expression for finding prototypes, structs, unions, enums.
     ;; Uncomment if you want to find these too.  It will be a bit slower gathering
     ;; the indexes.
-                                ;    ("Prototypes"
-                                ;     (,
-                                ;      (concat
-                                ;       "^"                              ; beginning of line is required
-                                ;       "\\(template[ \t]*<[^>]+>[ \t]*\\)?" ; there may be a "template <...>"
-                                ;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"    ; type specs; there can be no
-                                ;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"    ; more than 3 tokens, right?
+;;;    ("Prototypes"
+;;;     (,
+;;;      (concat
+;;;       "^"                            ; beginning of line is required
+;;;       "\\(template[ \t]*<[^>]+>[ \t]*\\)?" ; there may be a "template <...>"
+;;;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"          ; type specs; there can be no
+;;;       "\\([a-zA-Z0-9_:]+[ \t]+\\)?"          ; more than 3 tokens, right?
 
-                                ;       "\\("                            ; last type spec including */&
-                                ;       "[a-zA-Z0-9_:]+"
-                                ;       "\\([ \t]*[*&]+[ \t]*\\|[ \t]+\\)"       ; either pointer/ref sign or whitespace
-                                ;       "\\)?"                           ; if there is a last type spec
-                                ;       "\\("                        ; name; take that into the imenu entry
-                                ;       "[a-zA-Z0-9_:~]+"                    ; member function, ctor or dtor...
-                                ;                                      ; (may not contain * because then
-                                ;                                      ; "a::operator char*" would become "char*"!)
-                                ;       "\\|"
-                                ;       "\\([a-zA-Z0-9_:~]*::\\)?operator"
-                                ;       "[^a-zA-Z1-9_][^(]*"         ; ...or operator
-                                ;       " \\)"
-                                ;       "[ \t]*([^)]*)[ \t\n]*;"       ; require ';' after
-                                ;                                      ; the (...) Can't
-                                ;                                      ; catch cases with () inside the parentheses
-                                ;                                      ; surrounding the parameters
-                                ;                                      ; (like "int foo(int a=bar());"
-                                ;       )) 6)
-                                ;    ("Struct"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "struct[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
-                                ;    ("Enum"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "enum[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
-                                ;    ("Union"
-                                ;     (, (concat
-                                ;       "^"                            ; beginning of line is required
-                                ;       "\\(static[ \t]+\\)?"          ; there may be static or const.
-                                ;       "\\(const[ \t]+\\)?"
-                                ;       "union[ \t]+"
-                                ;       "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
-                                ;       "[ \t]*[{]"
-                                ;       )) 3)
+;;;       "\\("                                  ; last type spec including */&
+;;;       "[a-zA-Z0-9_:]+"
+;;;       "\\([ \t]*[*&]+[ \t]*\\|[ \t]+\\)"     ; either pointer/ref sign or whitespace
+;;;       "\\)?"                                 ; if there is a last type spec
+;;;       "\\("                              ; name; take that into the imenu entry
+;;;       "[a-zA-Z0-9_:~]+"                  ; member function, ctor or dtor...
+;;;                                    ; (may not contain * because then
+;;;                                    ; "a::operator char*" would become "char*"!)
+;;;       "\\|"
+;;;       "\\([a-zA-Z0-9_:~]*::\\)?operator"
+;;;       "[^a-zA-Z1-9_][^(]*"       ; ...or operator
+;;;       " \\)"
+;;;       "[ \t]*([^)]*)[ \t\n]*;"     ; require ';' after
+;;;                                    ; the (...) Can't
+;;;                                    ; catch cases with () inside the parentheses
+;;;                                    ; surrounding the parameters
+;;;                                    ; (like "int foo(int a=bar());"
+;;;       )) 6)
+;;;    ("Struct"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "struct[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
+;;;    ("Enum"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "enum[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
+;;;    ("Union"
+;;;     (, (concat
+;;;     "^"                            ; beginning of line is required
+;;;     "\\(static[ \t]+\\)?"          ; there may be static or const.
+;;;     "\\(const[ \t]+\\)?"
+;;;     "union[ \t]+"
+;;;     "\\([a-zA-Z0-9_]+\\)"          ; this is the string we want to get
+;;;     "[ \t]*[{]"
+;;;     )) 3)
     )
   "Imenu generic expression for C++ mode.  See `imenu-generic-expression'.")