[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infin
From: |
Daniel Colascione |
Subject: |
bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop |
Date: |
Sun, 30 Jan 2011 13:23:35 -0800 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/26/11 4:55 PM, Chong Yidong wrote:
> Chong Yidong <cyd@stupidchicken.com> writes:
>
>>> 1. emacs -Q bug.hpp
>>> 2. emacs loops infinitely using 100% CPU resources
>>>
>>> The offending file is that (according to the original reporter, the
>>> spaces and empty lines are needed):
>>
>> I can reproduce this (file attached for convenience). Alan, could you
>> take a look? Looks like a loop in c-forward-<>-arglist-recur:
>
> In the meantime, I have added the following hack/workaround to the
> emacs-23 branch, which seems to break the loop. Let me know if you find
> a fix that's safer (since we are well into the 23.3 pretest).
Incidentally, I can't reproduce the problem with the trunk cc-mode.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
iEYEARECAAYFAk1F1soACgkQ17c2LVA10VvtFACgi2KuRCq9m15aDx44xGtVTYGB
Z3AAnjuVGnWv1P6gz4vItI5HOoSiVcMw
=Emh5
-----END PGP SIGNATURE-----