aboutsummaryrefslogtreecommitdiffstats
path: root/etc/srecode
diff options
context:
space:
mode:
authorStephen Berman2013-06-14 22:07:55 +0200
committerStephen Berman2013-06-14 22:07:55 +0200
commitbd358779861f265a7acff31ead40172735af693e (patch)
tree345217a9889dbd29b09bdc80a94265c17719d41f /etc/srecode
parent2a97b47f0878cbda86cb6ba0e7e744924810b70e (diff)
parentf7394b12358ae453a0c8b85fc307afc1b740010d (diff)
downloademacs-bd358779861f265a7acff31ead40172735af693e.tar.gz
emacs-bd358779861f265a7acff31ead40172735af693e.zip
Merge from trunk.
Diffstat (limited to 'etc/srecode')
-rw-r--r--etc/srecode/c.srt164
-rw-r--r--etc/srecode/cpp.srt125
-rw-r--r--etc/srecode/default.srt2
-rw-r--r--etc/srecode/doc-cpp.srt2
-rw-r--r--etc/srecode/doc-default.srt2
-rw-r--r--etc/srecode/doc-java.srt2
-rw-r--r--etc/srecode/ede-autoconf.srt54
-rw-r--r--etc/srecode/ede-make.srt37
-rw-r--r--etc/srecode/el.srt4
-rw-r--r--etc/srecode/getset-cpp.srt2
-rw-r--r--etc/srecode/java.srt23
-rw-r--r--etc/srecode/make.srt2
-rw-r--r--etc/srecode/template.srt2
-rw-r--r--etc/srecode/test.srt2
-rw-r--r--etc/srecode/texi.srt2
-rw-r--r--etc/srecode/wisent.srt2
16 files changed, 286 insertions, 141 deletions
diff --git a/etc/srecode/c.srt b/etc/srecode/c.srt
new file mode 100644
index 00000000000..03e4c369307
--- /dev/null
+++ b/etc/srecode/c.srt
@@ -0,0 +1,164 @@
1;;; c.srt --- SRecode templates for c-mode
2
3;; Copyright (C) 2007-2010, 2012-2013 Free Software Foundation, Inc.
4
5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6
7;; This file is part of GNU Emacs.
8
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
11;; the Free Software Foundation, either version 3 of the License, or
12;; (at your option) any later version.
13
14;; GNU Emacs is distributed in the hope that it will be useful,
15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;; GNU General Public License for more details.
18
19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
22set mode "c-mode"
23
24set comment_start "/**"
25set comment_end " */"
26set comment_prefix " *"
27
28;; OVERRIDE THIS in your user or project template file to whatever
29;; you use for your project.
30set HEADEREXT ".h"
31
32context file
33
34template empty :time :user :file :c
35----
36{{>:filecomment}}
37
38{{#NOTHEADER}}
39
40{{^}}
41{{/NOTHEADER}}
42{{#HEADER}}
43{{>:header_guard}}
44{{/HEADER}}
45----
46
47template header_guard :file :blank :c
48----
49#ifndef {{FILENAME_SYMBOL:upcase}}
50#define {{FILENAME_SYMBOL:upcase}} 1
51
52{{^}}
53
54#endif // {{FILENAME_SYMBOL:upcase}}
55----
56
57context misc
58
59template arglist
60"Insert an argument list for a function.
61@todo - Support smart CR in a buffer for not too long lines."
62----
63({{#ARGS}}{{TYPE}} {{NAME}}{{#NOTLAST}},{{/NOTLAST}}{{/ARGS}})
64----
65
66context declaration
67
68prompt TYPE "Return Type: "
69
70template function :indent :blank
71"Insert a function declaration."
72----
73{{?TYPE}} {{?NAME}}{{>:misc:arglist}}
74{{#INITIALIZERS}}{{>B:initializers}}{{/INITIALIZERS}}
75{
76{{^}}
77}
78----
79bind "f"
80
81template function-prototype :indent :blank
82"Insert a function declaration."
83----
84{{?TYPE}} {{?NAME}}{{>:misc:arglist}};
85----
86
87
88prompt TYPE "Data Type: "
89
90template variable :indent :blank
91"Insert a variable declaration."
92----
93{{?TYPE}} {{?NAME}}{{#HAVEDEFAULT}} = {{DEFAULT}}{{/HAVEDEFAULT}};
94----
95bind "v"
96
97template variable-prototype :indent :blank
98"Insert a variable declaration."
99----
100{{?TYPE}} {{?NAME}};
101----
102bind "v"
103
104
105template include :blank
106"An include statement."
107----
108#include "{{?NAME}}"
109----
110bind "i"
111
112template system-include :blank
113"An include statement."
114----
115#include <{{?NAME}}>
116----
117bind "i"
118
119template label :blank :indent
120----
121 {{?NAME}}:
122----
123
124context declaration
125
126template comment-function :indent :blank
127"Used to put a nice comment in front of a function.
128Override this with your own preference to avoid using doxygen"
129----
130{{>A:declaration:doxygen-function}}
131----
132
133;;; DOXYGEN FEATURES
134;;
135;;
136context declaration
137
138template doxygen-function :indent :blank
139----
140/**
141 * @name {{NAME}} - {{DOC}}{{^}}{{#ARGS}}
142 * @param {{NAME}} - {{DOC}}{{/ARGS}}
143 * @return {{TYPE}}
144 */
145----
146
147template doxygen-variable-same-line
148----
149/**< {{DOC}}{{^}} */
150----
151
152template doxygen-section-comment :blank :indent
153"Insert a comment that separates sections of an Emacs Lisp file."
154----
155
156/** {{?TITLE}}
157 *
158 * {{^}}
159 */
160
161----
162
163
164;; end
diff --git a/etc/srecode/cpp.srt b/etc/srecode/cpp.srt
index 16cfc535761..b4bbb3817e2 100644
--- a/etc/srecode/cpp.srt
+++ b/etc/srecode/cpp.srt
@@ -1,6 +1,6 @@
1;;; cpp.srt --- SRecode templates for c++-mode 1;;; cpp.srt --- SRecode templates for c++-mode
2 2
3;; Copyright (C) 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
@@ -25,82 +25,8 @@ set comment_start "/**"
25set comment_end " */" 25set comment_end " */"
26set comment_prefix " *" 26set comment_prefix " *"
27 27
28;; OVERRIDE THIS in your user or project template file to whatever
29;; you use for your project.
30set HEADEREXT ".h"
31
32context file
33
34template empty :time :user :file :cpp
35----
36{{>:filecomment}}
37
38{{#NOTHEADER}}
39
40{{^}}
41{{/NOTHEADER}}
42{{#HEADER}}
43{{>:header_guard}}
44{{/HEADER}}
45----
46
47template header_guard :file :blank
48----
49#ifndef {{FILENAME_SYMBOL}}
50#define {{FILENAME_SYMBOL}} 1
51
52{{^}}
53
54#endif // {{FILENAME_SYMBOL}}
55----
56
57context misc
58
59template arglist
60"Insert an argument list for a function.
61@todo - Support smart CR in a buffer for not too long lines."
62----
63({{#ARGS}}{{TYPE}} {{NAME}}{{#NOTLAST}},{{/NOTLAST}}{{/ARGS}})
64----
65
66context declaration 28context declaration
67 29
68prompt TYPE "Return Type: "
69
70template function :indent :blank
71"Insert a function declaration."
72----
73{{?TYPE}} {{?NAME}}{{>:misc:arglist}}
74{{#INITIALIZERS}}{{>B:initializers}}{{/INITIALIZERS}}
75{
76{{^}}
77}
78----
79bind "f"
80
81template function-prototype :indent :blank
82"Insert a function declaration."
83----
84{{?TYPE}} {{?NAME}}{{>:misc:arglist}};
85----
86
87
88prompt TYPE "Data Type: "
89
90template variable :indent :blank
91"Insert a variable declaration."
92----
93{{?TYPE}} {{?NAME}}{{#HAVEDEFAULT}} = {{DEFAULT}}{{/HAVEDEFAULT}};
94----
95bind "v"
96
97template variable-prototype :indent :blank
98"Insert a variable declaration."
99----
100{{?TYPE}} {{?NAME}};
101----
102bind "v"
103
104template class :indent :blank 30template class :indent :blank
105"Insert a C++ class. For use by user insertion. 31"Insert a C++ class. For use by user insertion.
106Override this template to change contents of a class. 32Override this template to change contents of a class.
@@ -146,18 +72,6 @@ template method :indent :blank
146} 72}
147---- 73----
148 74
149template include :blank
150"An include statement."
151----
152#include "{{?NAME}}"
153----
154bind "i"
155
156template label :blank :indent
157----
158 {{?NAME}}:
159----
160
161context classdecl 75context classdecl
162 76
163template constructor-tag :indent :blank 77template constructor-tag :indent :blank
@@ -196,15 +110,6 @@ Override this with your own preference to avoid using doxygen."
196{{>A:classdecl:doxygen-function-group-end}} 110{{>A:classdecl:doxygen-function-group-end}}
197---- 111----
198 112
199context declaration
200
201template comment-function :indent :blank
202"Used to put a nice comment in front of a function.
203Override this with your own preference to avoid using doxygen"
204----
205{{>A:declaration:doxygen-function}}
206----
207
208;;; DOXYGEN FEATURES 113;;; DOXYGEN FEATURES
209;; 114;;
210;; 115;;
@@ -229,32 +134,4 @@ template doxygen-function-group-end :indent :blank
229 134
230---- 135----
231 136
232context declaration
233
234template doxygen-function :indent :blank
235----
236/**
237 * @name {{NAME}} - {{DOC}}{{^}}{{#ARGS}}
238 * @param {{NAME}} - {{DOC}}{{/ARGS}}
239 * @return {{TYPE}}
240 */
241----
242
243template doxygen-variable-same-line
244----
245/**< {{DOC}}{{^}} */
246----
247
248template doxygen-section-comment :blank :indent
249"Insert a comment that separates sections of an Emacs Lisp file."
250----
251
252/** {{?TITLE}}
253 *
254 * {{^}}
255 */
256
257----
258
259
260;; end 137;; end
diff --git a/etc/srecode/default.srt b/etc/srecode/default.srt
index 2cedcfceeff..6147b2ec909 100644
--- a/etc/srecode/default.srt
+++ b/etc/srecode/default.srt
@@ -1,6 +1,6 @@
1;;; default.srt --- SRecode templates for srecode-template-mode 1;;; default.srt --- SRecode templates for srecode-template-mode
2 2
3;; Copyright (C) 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/doc-cpp.srt b/etc/srecode/doc-cpp.srt
index 67d13691cef..aefe88f7941 100644
--- a/etc/srecode/doc-cpp.srt
+++ b/etc/srecode/doc-cpp.srt
@@ -1,6 +1,6 @@
1;; doc-c.srt --- SRecode templates for "document" applications 1;; doc-c.srt --- SRecode templates for "document" applications
2 2
3;; Copyright (C) 2008-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/doc-default.srt b/etc/srecode/doc-default.srt
index f3876c830af..9d28d56fc8b 100644
--- a/etc/srecode/doc-default.srt
+++ b/etc/srecode/doc-default.srt
@@ -1,6 +1,6 @@
1;; doc-default.srt --- SRecode templates for "document" applications 1;; doc-default.srt --- SRecode templates for "document" applications
2 2
3;; Copyright (C) 2009-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/doc-java.srt b/etc/srecode/doc-java.srt
index 729d025008a..06d800c2294 100644
--- a/etc/srecode/doc-java.srt
+++ b/etc/srecode/doc-java.srt
@@ -1,6 +1,6 @@
1;; doc-java.srt --- SRecode templates for "document" applications 1;; doc-java.srt --- SRecode templates for "document" applications
2 2
3;; Copyright (C) 2009-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/ede-autoconf.srt b/etc/srecode/ede-autoconf.srt
new file mode 100644
index 00000000000..5eb2d2d24e5
--- /dev/null
+++ b/etc/srecode/ede-autoconf.srt
@@ -0,0 +1,54 @@
1;;; ede/templates/autoconf.srt --- Templates for autoconf used by EDE
2
3;; Copyright (C) 2010, 2012-2013 Free Software Foundation, Inc.
4
5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6
7;; This file is part of GNU Emacs.
8
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
11;; the Free Software Foundation, either version 3 of the License, or
12;; (at your option) any later version.
13
14;; GNU Emacs is distributed in the hope that it will be useful,
15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;; GNU General Public License for more details.
18
19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
22set mode "autoconf-mode"
23set escape_start "{{"
24set escape_end "}}"
25set comment_start "#"
26set comment_prefix "#"
27set application "ede"
28
29context file
30
31template ede-empty :project
32"Start a new EDE generated configure.in/ac file."
33----
34{{comment_prefix}} Automatically Generated/Maintained {{FILE}} by EDE.
35{{comment_prefix}}
36{{comment_prefix}} YOU MAY MODIFY THIS FILE
37{{comment_prefix}} Hand made changes in some sections will be preserved
38{{comment_prefix}} by EDE when this file is updated.
39{{comment_prefix}}
40{{comment_prefix}} EDE is the Emacs Development Environment.
41{{comment_prefix}} http://cedet.sourceforge.net/ede.shtml
42{{comment_prefix}}
43{{comment_prefix}} Process this file with autoconf to produce a configure script
44
45AC_INIT({{PROJECT_NAME}}, {{PROJECT_VERSION}})
46AM_INIT_AUTOMAKE([{{PROGRAM}}], 0)
47AM_CONFIG_HEADER(config.h)
48
49{{comment_prefix}} End the configure script.
50AC_OUTPUT(Makefile, [date > stamp-h] )
51----
52
53
54;; end
diff --git a/etc/srecode/ede-make.srt b/etc/srecode/ede-make.srt
index 97725f4ff56..36bae085cc9 100644
--- a/etc/srecode/ede-make.srt
+++ b/etc/srecode/ede-make.srt
@@ -1,6 +1,6 @@
1;; ede-make.srt --- SRecode templates for Makefiles used by EDE. 1;; ede-make.srt --- SRecode templates for Makefiles used by EDE.
2 2
3;; Copyright (C) 2008-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
@@ -26,10 +26,11 @@ set application "ede"
26 26
27context file 27context file
28 28
29template ede-empty :file 29template ede-empty :file :project
30---- 30----
31# Automatically Generated {{FILE}} by EDE. 31# Automatically Generated {{FILE}} by EDE.
32# For use with: {{MAKETYPE}} 32# For use with: {{MAKETYPE}}
33# Relative File Name: {{PROJECT_FILENAME}}
33# 34#
34# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST. 35# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
35# EDE is the Emacs Development Environment. 36# EDE is the Emacs Development Environment.
@@ -46,4 +47,36 @@ template ede-vars
46{{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}} 47{{NAME}}={{#VALUE}} {{VAL}}{{/VALUE}}{{/VARIABLE}}
47---- 48----
48 49
50;; Some extra templates for Arduino based Makefiles.
51;; Perhaps split this out someday in the future.
52context arduino
53
54template ede-empty :file
55----
56# Automatically Generated {{FILE}} by EDE.
57# For use with Make for an Arduino project.
58#
59# DO NOT MODIFY THIS FILE OR YOUR CHANGES MAY BE LOST.
60# EDE is the Emacs Development Environment.
61# http://cedet.sourceforge.net/ede.shtml
62
63ARDUINO_DIR = {{ARDUINO_HOME}}
64
65TARGET = {{TARGET}}
66ARDUINO_LIBS = {{ARDUINO_LIBS}}
67
68MCU = {{MCU}}
69F_CPU = {{F_CPU}}
70ARDUINO_PORT = {{PORT}}
71BOARD_TAG = {{BOARD}}
72
73AVRDUDE_ARD_BAUDRATE = {{AVRDUDE_ARD_BAUDRATE}}
74AVRDUDE_ARD_PROGRAMMER = {{AVRDUDE_ARD_PROGRAMMER}}
75
76include {{ARDUINO_MK}}
77
78# End of Makefile
79----
80
81
49;; end 82;; end
diff --git a/etc/srecode/el.srt b/etc/srecode/el.srt
index cc5af736f15..458185c43e3 100644
--- a/etc/srecode/el.srt
+++ b/etc/srecode/el.srt
@@ -1,6 +1,6 @@
1;;; el.srt --- SRecode templates for Emacs Lisp mode 1;;; el.srt --- SRecode templates for Emacs Lisp mode
2 2
3;; Copyright (C) 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric Ludlam <zappo@gnu.org> 5;; Author: Eric Ludlam <zappo@gnu.org>
6 6
@@ -197,7 +197,7 @@ template variable-option :el :el-custom :indent :blank
197---- 197----
198(defcustom $?NAME$ $^$ 198(defcustom $?NAME$ $^$
199 "*$DOC$" 199 "*$DOC$"
200 :group $GROUP$ 200 :group '$GROUP$
201 :type $?CUSTOMTYPE$) 201 :type $?CUSTOMTYPE$)
202---- 202----
203bind "o" 203bind "o"
diff --git a/etc/srecode/getset-cpp.srt b/etc/srecode/getset-cpp.srt
index 22dca4ed1b3..4fdfb18e657 100644
--- a/etc/srecode/getset-cpp.srt
+++ b/etc/srecode/getset-cpp.srt
@@ -1,6 +1,6 @@
1;;; getset-cpp.srt --- SRecode templates for C++ class getter/setters. 1;;; getset-cpp.srt --- SRecode templates for C++ class getter/setters.
2 2
3;; Copyright (C) 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/java.srt b/etc/srecode/java.srt
index 706b6b39d57..e1fbb50eff6 100644
--- a/etc/srecode/java.srt
+++ b/etc/srecode/java.srt
@@ -1,6 +1,6 @@
1;; java.srt 1;; java.srt
2 2
3;; Copyright (C) 2009-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
@@ -43,6 +43,23 @@ package {{FILENAME_AS_PACKAGE}};
43---- 43----
44bind "e" 44bind "e"
45 45
46template empty-main :file :user :time :java :indent
47"Fill out an empty file with a class having a static main method"
48sectiondictionary "CLASSSECTION"
49set NAME macro "FILENAME_AS_CLASS"
50----
51{{>:filecomment}}
52
53package {{FILENAME_AS_PACKAGE}};
54
55{{<CLASSSECTION:declaration:class}}
56public static void main(String args[]) {
57 {{^}}
58}
59{{/CLASSSECTION}}
60----
61bind "l"
62
46context declaration 63context declaration
47 64
48template import :blank :indent 65template import :blank :indent
@@ -74,8 +91,8 @@ Override this to affect applications, or the outer class structure for
74the user-facing template." 91the user-facing template."
75---- 92----
76{{>:declaration:javadoc-class}} 93{{>:declaration:javadoc-class}}
77public Class {{?NAME}} {{#PARENTS}}{{#FIRST}}extends {{/FIRST}}{{#NOTFIRST}}implements {{/NOTFIRST}}{{NAME}}{{/PARENTS}} 94public class {{?NAME}} {{#PARENTS}}{{#FIRST}}extends {{/FIRST}}{{#NOTFIRST}}implements {{/NOTFIRST}}{{NAME}}{{/PARENTS}}
78{ 95{
79 {{^}} 96 {{^}}
80}; 97};
81---- 98----
diff --git a/etc/srecode/make.srt b/etc/srecode/make.srt
index 4001132e35e..134ae8beb41 100644
--- a/etc/srecode/make.srt
+++ b/etc/srecode/make.srt
@@ -1,6 +1,6 @@
1;; make.srt 1;; make.srt
2 2
3;; Copyright (C) 2009-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/template.srt b/etc/srecode/template.srt
index 226d51c7ba9..3dad0b544dd 100644
--- a/etc/srecode/template.srt
+++ b/etc/srecode/template.srt
@@ -1,6 +1,6 @@
1;;; template.srt --- Templates for Semantic Recoders 1;;; template.srt --- Templates for Semantic Recoders
2 2
3;; Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2005, 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric Ludlam <zappo@gnu.org> 5;; Author: Eric Ludlam <zappo@gnu.org>
6 6
diff --git a/etc/srecode/test.srt b/etc/srecode/test.srt
index fe12eb8b8c5..c5fd25a4c81 100644
--- a/etc/srecode/test.srt
+++ b/etc/srecode/test.srt
@@ -1,6 +1,6 @@
1;; test.srt --- SRecode templates for testing 1;; test.srt --- SRecode templates for testing
2 2
3;; Copyright (C) 2008-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/texi.srt b/etc/srecode/texi.srt
index 8c4ee858e62..84cd9f42472 100644
--- a/etc/srecode/texi.srt
+++ b/etc/srecode/texi.srt
@@ -1,6 +1,6 @@
1;; texi.srt --- SRecode templates for Texinfo 1;; texi.srt --- SRecode templates for Texinfo
2 2
3;; Copyright (C) 2008-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2008-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6
diff --git a/etc/srecode/wisent.srt b/etc/srecode/wisent.srt
index 75ce5f6b7ab..18954af235c 100644
--- a/etc/srecode/wisent.srt
+++ b/etc/srecode/wisent.srt
@@ -1,6 +1,6 @@
1;; wisent.srt --- SRecode templates for Emacs/WISENT grammar files. 1;; wisent.srt --- SRecode templates for Emacs/WISENT grammar files.
2 2
3;; Copyright (C) 2007-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 4
5;; Author: Eric M. Ludlam <eric@siege-engine.com> 5;; Author: Eric M. Ludlam <eric@siege-engine.com>
6 6