[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c-mode imenu: Stack overflow in regexp matcher
From: |
Glenn Morris |
Subject: |
Re: c-mode imenu: Stack overflow in regexp matcher |
Date: |
Mon, 19 Feb 2007 16:01:52 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Stefan Monnier wrote:
> Yes, I saw that, but it's still not clear to me what's going on
> here. E.g. the "match any non-identifier char" can match a
> parenthesis, is that correct?
>
> I guess a quick fix is to replace [^()] by [^()\n].
Ping, anyone in CC land?
The problematic "[^()]*" part was installed 12-Dec-99, before which it
was just "^\\<.*". If it really needs to match across newlines, maybe
it could match up to some finite number.
1999-12-12 Martin Stjernholm <address@hidden>
* cc-menus.el (cc-imenu-c++-generic-expression): Match classes with
nonhanging open braces. Don't match the throws clause that might
follow the function prototype in C++.
- c-mode imenu: Stack overflow in regexp matcher, Glenn Morris, 2007/02/02
- Re: c-mode imenu: Stack overflow in regexp matcher, Chong Yidong, 2007/02/02
- Re: c-mode imenu: Stack overflow in regexp matcher, Glenn Morris, 2007/02/02
- Re: c-mode imenu: Stack overflow in regexp matcher, Glenn Morris, 2007/02/02
- Re: c-mode imenu: Stack overflow in regexp matcher, Stefan Monnier, 2007/02/04
- Re: c-mode imenu: Stack overflow in regexp matcher, Glenn Morris, 2007/02/06
- Re: c-mode imenu: Stack overflow in regexp matcher, Stefan Monnier, 2007/02/07
- Re: c-mode imenu: Stack overflow in regexp matcher, Kim F. Storm, 2007/02/07
- Re: c-mode imenu: Stack overflow in regexp matcher, Stefan Monnier, 2007/02/07
- Re: c-mode imenu: Stack overflow in regexp matcher,
Glenn Morris <=
- Re: c-mode imenu: Stack overflow in regexp matcher, Nick Roberts, 2007/02/19