aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cc-engine.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Installed version 5.26Gerd Moellmann1999-12-121-125/+178
|
* (c-inside-bracelist-p): Tighter test forRichard M. Stallman1999-08-051-15/+26
| | | | Java anonymous array expressions ("new Foo[] {.. bracelist ..}").
* Added c-at-toplevel-p for font-lock.el.Simon Marshall1999-02-171-0/+17
|
* Installed CC Mode 5.25.Barry A. Warsaw1999-02-081-221/+691
|
* (c-inside-bracelist-p): Fix for enum test.Richard M. Stallman1998-03-081-48/+108
| | | | | | | | | | | | | (c-collect-line-comments): Require same comment start column. (c-guess-basic-syntax): Fixes for nesting of and repeated defun-open's inside extern and namespace clauses. This is done by passing a relpos to `inextern-lang' and `innamespace'. Also, the relpos in `defun-open' is no longer always bol. It's always bol when on the top level, however. Changed cases: 5A.5, 5I, 14A. (c-forward-token-1, c-backward-token-1): New functions to move by tokens. c-guess-basic-syntax): Fixes for Java 1.1 array initialization brace lists.
* (c-forward-syntactic-ws, c-backward-syntactic-ws):Richard M. Stallman1998-02-171-79/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't narrow, just make a simple check against the given limit. (c-collect-line-comments): New function. (c-literal-limits): New function that finds the start and end pos of a comment or string surrounding point. (c-literal-limits-fast): A faster variant of `c-literal-limits' for newer Emacsen where the state returned from `parse-partial-sexp' contains the starting pos of the last literal. (c-parse-state): Use (c-point 'bod) instead of beginning-of-defun directly. (c-guess-basic-syntax): Fixed a few byte compiler warnings. (c-backward-to-start-of-do): Break infloop for invalid code, e.g. when someone types while (TRUE) { at the top of a buffer, we shouldn't hang when the { is typed! (c-backward-to-start-of-if): Ensure never move forward, not even if point < lim. (c-search-uplist-for-classkey): When searching up for a class key, instead of hardcoding the extended search for "extern", use the new variable c-extra-toplevel-key, which is language dependent. For C++, this variable includes the keyword "namespace" which will match C++ namespace introducing blocks. (c-guess-basic-syntax): Support for recognizing C++ namespace blocks, by elaborating on the mechanism used to find external language blocks. Searches which hardcoded "extern" now use c-extra-toplevel-key, a language dependent variable. Case clauses that were modified: CASE 5A.1, CASE 5A.4, CASE 5F, CASE 5I, CASE 14A. CASE 3: we can now determine whether we're at the beginning of a cpp macro definition, or inside the middle of one. Set syntax to 'cpp-macro in the former case, 'cpp-macro-cont in the latter. In both cases, the relpos is the beginning of the macro. (c-forward-syntactic-ws): Added code that skips forward over multi-line cpp macros. (c-beginning-of-macro): Moved, and made into a defsubst. This function can now actually find the beginning of a multi-line C preprocessor macro. (c-backward-syntactic-ws): Use c-beginning-of-macro to skip backwards over multi-line macro definitions. (c-in-literal, c-fast-in-literal): Use c-beginning-of-macro to find out whether we're in a multi-line macro definition. (c-fast-in-literal): Function which should be faster than c-in-literal. In XEmacs, this uses buffer-syntactic-context.
* (c-guess-basic-syntax):Karl Heuer1997-10-231-2/+3
| | | | | | | | | CASE 5F: extern-lang-close relpos should be element 0 of inclass-p, not element 1. (c-beginning-of-statement-1): Watch out for keywords which have a preceding underscore.
* (c-end-of-statement-1):Karl Heuer1997-10-231-1/+1
| | | | | | Wrap backward-up-list in a c-safe call so no error results when buffer contains only a comment and point is at eob.
* (c-end-of-statement-1): Wrap backward-up-list in a c-safe call so noRichard M. Stallman1997-09-081-8/+10
| | | | | | | error results when buffer contains only a comment and point is at eob. (c-inside-bracelist-p): Add a test to the enum list test so that enum in a k&r arg decl doesn't confuse handling of the function body.
* (c-end-of-statement-1): Eliminate false hits on important charactersRichard M. Stallman1997-08-161-9/+15
| | | | inside literals (strings, comments).
* (c-guess-basic-syntax): CASE 5D.4: template argument continuationRichard M. Stallman1997-08-111-3/+4
| | | | lines are now analyzed as template-args-cont.
* (c-beginning-of-statement-1): When checking for bare semi, don't matchRichard M. Stallman1997-08-091-2/+4
| | | | | | | | on a semi following a close brace. (c-guess-basic-syntax): CASE 5I: When adding 'inclass syntax, use the relpos pointing to the class opening brace, unless that hangs on the right side, in which case, use the start of the class/struct keyword.
* (c-maybe-labelp): Add defvar.Richard M. Stallman1997-07-181-13/+19
|
* Initial revisionRichard M. Stallman1997-07-101-0/+1704