Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / cc-mode / once

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 */