diff options
| author | Alan Mackenzie | 2008-03-07 22:31:59 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2008-03-07 22:31:59 +0000 |
| commit | f1bb4ee1b8e34a55b5640e46bc5e7ea7d3070d12 (patch) | |
| tree | 49ec8baa63c43d4849ae9b7b27b2da4950dbd2ca | |
| parent | af379c86fbfc93e033f5c541e8cd05d4e40bf3e1 (diff) | |
| download | emacs-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.texi | 8 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 |
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 | |||
| 6760 | the expression after typing the closing @samp{>}. | 6760 | the expression after typing the closing @samp{>}. |
| 6761 | 6761 | ||
| 6762 | @item | 6762 | @item |
| 6763 | In a @dfn{k&r region} (the part of an old-fashioned C function | ||
| 6764 | declaration which specifies the types of its parameters, coming | ||
| 6765 | between the parameter list and the opening brace), there should be at | ||
| 6766 | most 20 top-level parenthesis and bracket pairs. This limit has been | ||
| 6767 | imposed for performance reasons. If it is violated, the source file | ||
| 6768 | might be incorrectly indented or fontified. | ||
| 6769 | |||
| 6770 | @item | ||
| 6763 | On loading @ccmode{}, sometimes this error message appears: | 6771 | On 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 @@ | |||
| 1 | 2008-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 | |||
| 1 | 2008-03-07 Bastien Guerry <bzg@altern.org> | 6 | 2008-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 |