]> code.delx.au - gnu-emacs/blobdiff - etc/srecode/c.srt
Fix bug re noninteractive multithreaded memory allocation.
[gnu-emacs] / etc / srecode / c.srt
index 14d51ed02e6dc28d8c37e0db4b07c014501c1576..03e4c3693078b8259a6e81e3e823d763cc37e415 100644 (file)
@@ -1,6 +1,6 @@
 ;;; c.srt --- SRecode templates for c-mode
 
-;; Copyright (C) 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc.
+;; Copyright (C) 2007-2010, 2012-2013 Free Software Foundation, Inc.
 
 ;; Author: Eric M. Ludlam <eric@siege-engine.com>
 
@@ -44,14 +44,14 @@ template empty :time :user :file :c
 {{/HEADER}}
 ----
 
-template header_guard :file :blank
+template header_guard :file :blank :c
 ----
-#ifndef {{FILENAME_SYMBOL}}
-#define {{FILENAME_SYMBOL}} 1
+#ifndef {{FILENAME_SYMBOL:upcase}}
+#define {{FILENAME_SYMBOL:upcase}} 1
 
 {{^}}
 
-#endif // {{FILENAME_SYMBOL}}
+#endif // {{FILENAME_SYMBOL:upcase}}
 ----
 
 context misc