aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Eggert2016-03-10 07:34:52 -0800
committerPaul Eggert2016-03-10 07:59:19 -0800
commit7352c6c695db8b90b63c2601277d64a32507d2bb (patch)
tree1dc5f7af755a70f67efe13882099ff4920230571 /test
parenta589e9aed5255fb1ebfb38fa4b3c9df5f6ef7448 (diff)
downloademacs-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.c4
-rw-r--r--test/etags/c-src/emacs/src/lisp.h4
-rw-r--r--test/etags/c-src/etags.c8
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
8GNU Emacs is free software: you can redistribute it and/or modify 8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or 10the Free Software Foundation, either version 3 of the License, or (at
11(at your option) any later version. 11your option) any later version.
12 12
13GNU Emacs is distributed in the hope that it will be useful, 13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of 14but 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
8GNU Emacs is free software: you can redistribute it and/or modify 8GNU Emacs is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by 9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or 10the Free Software Foundation, either version 3 of the License, or (at
11(at your option) any later version. 11your option) any later version.
12 12
13GNU Emacs is distributed in the hope that it will be useful, 13GNU Emacs is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of 14but 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
36This program is free software: you can redistribute it and/or modify 36This program is free software: you can redistribute it and/or modify
37it under the terms of the GNU General Public License as published by 37it under the terms of the GNU General Public License as published by
38the Free Software Foundation, either version 3 of the License, or 38the Free Software Foundation, either version 3 of the License, or (at
39(at your option) any later version. 39your option) any later version.
40 40
41This program is distributed in the hope that it will be useful, 41This program is distributed in the hope that it will be useful,
42but WITHOUT ANY WARRANTY; without even the implied warranty of 42but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -613,8 +613,8 @@ static const char *Objc_suffixes [] =
613static const char Objc_help [] = 613static 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\
615class categories, methods and protocols. Tags for variables and\n\ 615class categories, methods and protocols. Tags for variables and\n\
616functions in classes are named `CLASS::VARIABLE' and `CLASS::FUNCTION'.\n\ 616functions 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
619static const char *Pascal_suffixes [] = 619static const char *Pascal_suffixes [] =
620 { "p", "pas", NULL }; 620 { "p", "pas", NULL };