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 /lib-src | |
| 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 'lib-src')
| -rw-r--r-- | lib-src/ebrowse.c | 4 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 4 | ||||
| -rw-r--r-- | lib-src/etags.c | 8 | ||||
| -rw-r--r-- | lib-src/hexl.c | 7 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 4 | ||||
| -rw-r--r-- | lib-src/movemail.c | 4 | ||||
| -rw-r--r-- | lib-src/ntlib.c | 4 | ||||
| -rw-r--r-- | lib-src/ntlib.h | 5 | ||||
| -rw-r--r-- | lib-src/pop.c | 4 | ||||
| -rw-r--r-- | lib-src/pop.h | 4 | ||||
| -rw-r--r-- | lib-src/profile.c | 4 | ||||
| -rw-r--r-- | lib-src/update-game-score.c | 4 |
12 files changed, 27 insertions, 29 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index cb09ab80879..c59181f9464 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index c7cef8a2b20..dd66d34da70 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -6,8 +6,8 @@ This file is part of GNU Emacs. | |||
| 6 | 6 | ||
| 7 | GNU Emacs is free software: you can redistribute it and/or modify | 7 | GNU Emacs is free software: you can redistribute it and/or modify |
| 8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
| 9 | the Free Software Foundation, either version 3 of the License, or | 9 | the Free Software Foundation, either version 3 of the License, or (at |
| 10 | (at your option) any later version. | 10 | your option) any later version. |
| 11 | 11 | ||
| 12 | GNU Emacs is distributed in the hope that it will be useful, | 12 | GNU Emacs is distributed in the hope that it will be useful, |
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/etags.c b/lib-src/etags.c index e8e15769606..01e230206ac 100644 --- a/lib-src/etags.c +++ b/lib-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 |
| @@ -680,8 +680,8 @@ static const char *Objc_suffixes [] = | |||
| 680 | static const char Objc_help [] = | 680 | static const char Objc_help [] = |
| 681 | "In Objective C code, tags include Objective C definitions for classes,\n\ | 681 | "In Objective C code, tags include Objective C definitions for classes,\n\ |
| 682 | class categories, methods and protocols. Tags for variables and\n\ | 682 | class categories, methods and protocols. Tags for variables and\n\ |
| 683 | functions in classes are named 'CLASS::VARIABLE' and 'CLASS::FUNCTION'.\n\ | 683 | functions in classes are named 'CLASS::VARIABLE' and 'CLASS::FUNCTION'.\ |
| 684 | (Use --help --lang=c --lang=objc --lang=java for full help.)"; | 684 | \n(Use --help --lang=c --lang=objc --lang=java for full help.)"; |
| 685 | 685 | ||
| 686 | static const char *Pascal_suffixes [] = | 686 | static const char *Pascal_suffixes [] = |
| 687 | { "p", "pas", NULL }; | 687 | { "p", "pas", NULL }; |
diff --git a/lib-src/hexl.c b/lib-src/hexl.c index 833ea50b480..9a5ca7e1543 100644 --- a/lib-src/hexl.c +++ b/lib-src/hexl.c | |||
| @@ -1,15 +1,14 @@ | |||
| 1 | /* Convert files for Emacs Hexl mode. | 1 | /* Convert files for Emacs Hexl mode. |
| 2 | Copyright (C) 1989, 2001-2016 Free Software Foundation, Inc. | 2 | Copyright (C) 1989, 2001-2016 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | Author: Keith Gabryelski | 4 | Author: Keith Gabryelski (according to authors.el) |
| 5 | (according to authors.el) | ||
| 6 | 5 | ||
| 7 | This file is not considered part of GNU Emacs. | 6 | This file is not considered part of GNU Emacs. |
| 8 | 7 | ||
| 9 | This program is free software: you can redistribute it and/or modify | 8 | This program is free software: you can redistribute it and/or modify |
| 10 | 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 |
| 11 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 12 | (at your option) any later version. | 11 | your option) any later version. |
| 13 | 12 | ||
| 14 | This program is distributed in the hope that it will be useful, | 13 | This program is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index e266207ee9e..32e3817a465 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.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/lib-src/movemail.c b/lib-src/movemail.c index fa4c0294955..90e683ed855 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c | |||
| @@ -8,8 +8,8 @@ This file is part of GNU Emacs. | |||
| 8 | 8 | ||
| 9 | GNU Emacs is free software: you can redistribute it and/or modify | 9 | GNU Emacs is free software: you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation, either version 3 of the License, or | 11 | the Free Software Foundation, either version 3 of the License, or (at |
| 12 | (at your option) any later version. | 12 | your option) any later version. |
| 13 | 13 | ||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | 14 | GNU Emacs is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 931a3abdf93..4b25796830e 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c | |||
| @@ -9,8 +9,8 @@ This file is part of GNU Emacs. | |||
| 9 | 9 | ||
| 10 | GNU Emacs is free software: you can redistribute it and/or modify | 10 | GNU Emacs is free software: you can redistribute it and/or modify |
| 11 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
| 12 | the Free Software Foundation, either version 3 of the License, or | 12 | the Free Software Foundation, either version 3 of the License, or (at |
| 13 | (at your option) any later version. | 13 | your option) any later version. |
| 14 | 14 | ||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | 15 | GNU Emacs is distributed in the hope that it will be useful, |
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/ntlib.h b/lib-src/ntlib.h index a0c0d43bdc6..b49da79f328 100644 --- a/lib-src/ntlib.h +++ b/lib-src/ntlib.h | |||
| @@ -5,8 +5,8 @@ This file is part of GNU Emacs. | |||
| 5 | 5 | ||
| 6 | GNU Emacs is free software: you can redistribute it and/or modify | 6 | GNU Emacs is free software: you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation, either version 3 of the License, or | 8 | the Free Software Foundation, either version 3 of the License, or (at |
| 9 | (at your option) any later version. | 9 | your option) any later version. |
| 10 | 10 | ||
| 11 | GNU Emacs is distributed in the hope that it will be useful, | 11 | GNU Emacs is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -102,4 +102,3 @@ int mkostemp (char * template, int flags); | |||
| 102 | #undef _WINSOCK_H | 102 | #undef _WINSOCK_H |
| 103 | 103 | ||
| 104 | /* end of ntlib.h */ | 104 | /* end of ntlib.h */ |
| 105 | |||
diff --git a/lib-src/pop.c b/lib-src/pop.c index 812bd4ca24c..6e3b6a9a773 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c | |||
| @@ -9,8 +9,8 @@ This file is part of GNU Emacs. | |||
| 9 | 9 | ||
| 10 | GNU Emacs is free software: you can redistribute it and/or modify | 10 | GNU Emacs is free software: you can redistribute it and/or modify |
| 11 | it under the terms of the GNU General Public License as published by | 11 | it under the terms of the GNU General Public License as published by |
| 12 | the Free Software Foundation, either version 3 of the License, or | 12 | the Free Software Foundation, either version 3 of the License, or (at |
| 13 | (at your option) any later version. | 13 | your option) any later version. |
| 14 | 14 | ||
| 15 | GNU Emacs is distributed in the hope that it will be useful, | 15 | GNU Emacs is distributed in the hope that it will be useful, |
| 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/pop.h b/lib-src/pop.h index 4c67bdcb015..b8c21fcedb6 100644 --- a/lib-src/pop.h +++ b/lib-src/pop.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/lib-src/profile.c b/lib-src/profile.c index da6232afbca..0e603776049 100644 --- a/lib-src/profile.c +++ b/lib-src/profile.c | |||
| @@ -8,8 +8,8 @@ This file is part of GNU Emacs. | |||
| 8 | 8 | ||
| 9 | GNU Emacs is free software: you can redistribute it and/or modify | 9 | GNU Emacs is free software: you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation, either version 3 of the License, or | 11 | the Free Software Foundation, either version 3 of the License, or (at |
| 12 | (at your option) any later version. | 12 | your option) any later version. |
| 13 | 13 | ||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | 14 | GNU Emacs is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index 3803a31c817..7675e9bdd4c 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c | |||
| @@ -8,8 +8,8 @@ This file is part of GNU Emacs. | |||
| 8 | 8 | ||
| 9 | GNU Emacs is free software: you can redistribute it and/or modify | 9 | GNU Emacs is free software: you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by | 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation, either version 3 of the License, or | 11 | the Free Software Foundation, either version 3 of the License, or (at |
| 12 | (at your option) any later version. | 12 | your option) any later version. |
| 13 | 13 | ||
| 14 | GNU Emacs is distributed in the hope that it will be useful, | 14 | GNU Emacs is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |