diff options
author | Martin Stjernholm <mast@lysator.liu.se> | 2002-04-22 00:35:36 +0000 |
---|---|---|
committer | Martin Stjernholm <mast@lysator.liu.se> | 2002-04-22 00:35:36 +0000 |
commit | a66cd3ee16d68ab874793226f0a74e08fbc81056 (patch) | |
tree | ca089daba3b962490ba70784cf684820e8b8ad83 /lisp/progmodes/cc-menus.el | |
parent | 9211d0538379a887ae318bcb281e0d73ec691e24 (diff) | |
download | emacs-a66cd3ee16d68ab874793226f0a74e08fbc81056.tar.gz |
CC Mode update to version 5.29. This is for testing; it's not a released
version.
Diffstat (limited to 'lisp/progmodes/cc-menus.el')
-rw-r--r-- | lisp/progmodes/cc-menus.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index eb03273b4d8..3bdb456e05f 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el @@ -25,7 +25,7 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with this program; see the file COPYING. If not, write to +;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. @@ -110,9 +110,9 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") "[^()]*" ; no parentheses before "[^a-zA-Z0-9_:<>~]" ; match any non-identifier char "\\([a-zA-Z_][a-zA-Z0-9_:<>~]*\\)" ; match function name - "[ \t]*(" ; see above, BUT - "[ \t]*\\([^ \t(*][^)]*\\)?)" ; the arg list must not start - "[ \t]*[^ \t;(]" ; with an asterisk or parentheses + "\\([ \t\n]\\|\\\\\n\\)*(" ; see above, BUT the arg list + "\\([ \t\n]\\|\\\\\n\\)*\\([^ \t\n(*][^)]*\\)?)" ; must not start + "\\([ \t\n]\\|\\\\\n\\)*[^ \t\n;(]" ; with an asterisk or parentheses ) 1) ;; Special case for definitions using phony prototype macros like: ;; `int main _PROTO( (int argc,char *argv[]) )'. @@ -139,7 +139,7 @@ A sample value might look like: `\\(_P\\|_PROTO\\)'.") "[a-zA-Z0-9_]+" ; class name "\\(<[^>]+>\\)?" ; possibly explicitly specialized "\\)" - "[ \t\n]*[:{]" + "\\([ \t\n]\\|\\\\\n\\)*[:{]" ) 3)) "Imenu generic expression for C++ mode. See `imenu-generic-expression'.") |