Commit f1bb4ee1 authored by Alan Mackenzie's avatar Alan Mackenzie

(Limitations and Known Bugs): State that the number of parens/brackets in

a k&r region is limited.
parent af379c86
...@@ -6759,6 +6759,14 @@ it and font-locks it OK. Templates used in expressions, and nested ...@@ -6759,6 +6759,14 @@ it and font-locks it OK. Templates used in expressions, and nested
templates do not fare so well. Sometimes a workaround is to refontify templates do not fare so well. Sometimes a workaround is to refontify
the expression after typing the closing @samp{>}. 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 @item
On loading @ccmode{}, sometimes this error message appears: On loading @ccmode{}, sometimes this error message appears:
......
2008-03-07 Alan Mackenzie <acm@muc.de>
* progmodes/cc-engine.el (c-in-knr-argdecl): Limit number of
paren/bracket pairs parsed, to solve performance problem.
2008-03-07 Bastien Guerry <bzg@altern.org> 2008-03-07 Bastien Guerry <bzg@altern.org>
* bookmark.el (bookmark-set): Don't check for * bookmark.el (bookmark-set): Don't check for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment