aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2008-03-07 22:31:59 +0000
committerAlan Mackenzie2008-03-07 22:31:59 +0000
commitf1bb4ee1b8e34a55b5640e46bc5e7ea7d3070d12 (patch)
tree49ec8baa63c43d4849ae9b7b27b2da4950dbd2ca
parentaf379c86fbfc93e033f5c541e8cd05d4e40bf3e1 (diff)
downloademacs-f1bb4ee1b8e34a55b5640e46bc5e7ea7d3070d12.tar.gz
emacs-f1bb4ee1b8e34a55b5640e46bc5e7ea7d3070d12.zip
(Limitations and Known Bugs): State that the number of parens/brackets in
a k&r region is limited.
-rw-r--r--doc/misc/cc-mode.texi8
-rw-r--r--lisp/ChangeLog5
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index 8ac9588c305..0bbe639e6db 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -6760,6 +6760,14 @@ templates do not fare so well. Sometimes a workaround is to refontify
6760the expression after typing the closing @samp{>}. 6760the expression after typing the closing @samp{>}.
6761 6761
6762@item 6762@item
6763In a @dfn{k&r region} (the part of an old-fashioned C function
6764declaration which specifies the types of its parameters, coming
6765between the parameter list and the opening brace), there should be at
6766most 20 top-level parenthesis and bracket pairs. This limit has been
6767imposed for performance reasons. If it is violated, the source file
6768might be incorrectly indented or fontified.
6769
6770@item
6763On loading @ccmode{}, sometimes this error message appears: 6771On loading @ccmode{}, sometimes this error message appears:
6764 6772
6765@example 6773@example
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d162ea33fb1..9d267a7d863 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-03-07 Alan Mackenzie <acm@muc.de>
2
3 * progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
4 paren/bracket pairs parsed, to solve performance problem.
5
12008-03-07 Bastien Guerry <bzg@altern.org> 62008-03-07 Bastien Guerry <bzg@altern.org>
2 7
3 * bookmark.el (bookmark-set): Don't check for 8 * bookmark.el (bookmark-set): Don't check for