[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Huge {...} blocks in C/C++ again
From: |
Dmitry Antipov |
Subject: |
Huge {...} blocks in C/C++ again |
Date: |
Mon, 14 Oct 2013 20:57:53 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
An issue from:
https://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00483.html
is exactly reproduced on this header from LLVM project, most probably
due to huge
#ifdef __cplusplus
extern "C" {
#endif
/* a lot of things */
#ifdef __cplusplus
} // extern "C"
#endif
block - a lot of things between top-level { and } hangs everything,
without a chance to quit with C-g.
To reproduce, just do 'emacs -Q linux_syscall_hooks.h' and scroll ~1/2 of
buffer.
Dmitry
linux_syscall_hooks.h.xz
Description: application/xz
- Huge {...} blocks in C/C++ again,
Dmitry Antipov <=