changeset 92570:0c777c6d1ca8

(Limitations and Known Bugs): State that the number of parens/brackets in a k&r region is limited.
author Alan Mackenzie <acm@muc.de>
date Fri, 07 Mar 2008 22:27:03 +0000
parents 2700d0403f58
children 35628f10d78a
files doc/misc/cc-mode.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/cc-mode.texi	Fri Mar 07 22:25:42 2008 +0000
+++ b/doc/misc/cc-mode.texi	Fri Mar 07 22:27:03 2008 +0000
@@ -6760,6 +6760,14 @@
 the expression after typing the closing @samp{>}.
 
 @item
+In a @dfn{k&r region} (the part of an old-fashioned C function
+declaration which specifies the types of its parameters, coming
+between the parameter list and the opening brace), there should be at
+most 20 top-level parenthesis and bracket pairs.  This limit has been
+imposed for performance reasons.  If it is violated, the source file
+might be incorrectly indented or fontified.
+
+@item
 On loading @ccmode{}, sometimes this error message appears:
 
 @example