summaryrefslogblamecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/cc-mode/once
blob: 1b63c3946c4635b66f57e7d355fffaf51b829255 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                  
#name : #ifndef XXX; #define XXX; #endif
# --
#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
#define $1

$0

#endif /* $1 */