From ffccd5b2b05243e7976db80f90f453dccfae9886 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 22:22:03 +0200 Subject: Adding upstream version 3:4.8.30. Signed-off-by: Daniel Baumann --- misc/macros.d/macro.5.sh | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 misc/macros.d/macro.5.sh (limited to 'misc/macros.d/macro.5.sh') diff --git a/misc/macros.d/macro.5.sh b/misc/macros.d/macro.5.sh new file mode 100644 index 0000000..70c2ddc --- /dev/null +++ b/misc/macros.d/macro.5.sh @@ -0,0 +1,41 @@ +#silent +s snippets + a=`cat %b` + if [ "$a" = "fori" ]; then + echo "for (i = 0; i _; i++)" > %b + fi + if [ "$a" = "ife" ]; then + cat < %b + if ( ) + { + } + else + { + } + EOF + fi + if [ "$a" = "GPL" ]; then + cat >>%b <. + */ + EOF + fi + if [ "$a" = "type" ]; then + cat < %b + typedef struct { + ; + } ?; + EOF + fi -- cgit v1.2.3