emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-menus.el, v [EMACS_22_B


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-menus.el, v [EMACS_22_BASE]
Date: Wed, 17 Oct 2007 01:36:25 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Branch:         EMACS_22_BASE
Changes by:     Glenn Morris <gm>       07/10/17 01:36:25

Index: cc-menus.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/cc-menus.el,v
retrieving revision 1.33.2.1
retrieving revision 1.33.2.2
diff -u -b -r1.33.2.1 -r1.33.2.2
--- cc-menus.el 25 Jul 2007 04:29:38 -0000      1.33.2.1
+++ cc-menus.el 17 Oct 2007 01:36:24 -0000      1.33.2.2
@@ -106,7 +106,9 @@
     (nil
      ,(concat
        "^\\<"                                 ; line MUST start with word char
-       "[^()]*"                               ; no parentheses before
+       ;; \n added to prevent overflow in regexp matcher.
+       ;; 
http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-02/msg00021.html
+       "[^()\n]*"                             ; no parentheses before
        "[^" c-alnum "_:<>~]"                  ; match any non-identifier char
        "\\([" c-alpha "_][" c-alnum "_:<>~]*\\)" ; match function name
        "\\([ \t\n]\\|\\\\\n\\)*("            ; see above, BUT the arg list




reply via email to

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