diff options
| author | Paul Eggert | 2016-03-10 07:34:52 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-03-10 07:59:19 -0800 |
| commit | 7352c6c695db8b90b63c2601277d64a32507d2bb (patch) | |
| tree | 1dc5f7af755a70f67efe13882099ff4920230571 /test | |
| parent | a589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff) | |
| download | emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.tar.gz emacs-7352c6c695db8b90b63c2601277d64a32507d2bb.zip | |
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Diffstat (limited to 'test')
| -rw-r--r-- | test/etags/c-src/emacs/src/keyboard.c | 4 | ||||
| -rw-r--r-- | test/etags/c-src/emacs/src/lisp.h | 4 | ||||
| -rw-r--r-- | test/etags/c-src/etags.c | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/test/etags/c-src/emacs/src/keyboard.c b/test/etags/c-src/emacs/src/keyboard.c index 077b147c76e..68584ee71fc 100644 --- a/test/etags/c-src/emacs/src/keyboard.c +++ b/test/etags/c-src/emacs/src/keyboard.c | |||
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/test/etags/c-src/emacs/src/lisp.h b/test/etags/c-src/emacs/src/lisp.h index 96c52c04691..db8722917ea 100644 --- a/test/etags/c-src/emacs/src/lisp.h +++ b/test/etags/c-src/emacs/src/lisp.h | |||
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/test/etags/c-src/etags.c b/test/etags/c-src/etags.c index 4465b830602..453419897bc 100644 --- a/test/etags/c-src/etags.c +++ b/test/etags/c-src/etags.c | |||
| @@ -35,8 +35,8 @@ This file is not considered part of GNU Emacs. | |||
| 35 | 35 | ||
| 36 | This program is free software: you can redistribute it and/or modify | 36 | This program is free software: you can redistribute it and/or modify |
| 37 | it under the terms of the GNU General Public License as published by | 37 | it under the terms of the GNU General Public License as published by |
| 38 | the Free Software Foundation, either version 3 of the License, or | 38 | the Free Software Foundation, either version 3 of the License, or (at |
| 39 | (at your option) any later version. | 39 | your option) any later version. |
| 40 | 40 | ||
| 41 | This program is distributed in the hope that it will be useful, | 41 | This program is distributed in the hope that it will be useful, |
| 42 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 42 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -613,8 +613,8 @@ static const char *Objc_suffixes [] = | |||
| 613 | static const char Objc_help [] = | 613 | static const char Objc_help [] = |
| 614 | "In Objective C code, tags include Objective C definitions for classes,\n\ | 614 | "In Objective C code, tags include Objective C definitions for classes,\n\ |
| 615 | class categories, methods and protocols. Tags for variables and\n\ | 615 | class categories, methods and protocols. Tags for variables and\n\ |
| 616 | functions in classes are named `CLASS::VARIABLE' and `CLASS::FUNCTION'.\n\ | 616 | functions in classes are named `CLASS::VARIABLE' and `CLASS::FUNCTION'.\ |
| 617 | (Use --help --lang=c --lang=objc --lang=java for full help.)"; | 617 | \n(Use --help --lang=c --lang=objc --lang=java for full help.)"; |
| 618 | 618 | ||
| 619 | static const char *Pascal_suffixes [] = | 619 | static const char *Pascal_suffixes [] = |
| 620 | { "p", "pas", NULL }; | 620 | { "p", "pas", NULL }; |