summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-10 09:05:08 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-02-10 09:05:08 +0100
commitaf77c11424193eaaf7cb56b5c94b303fcf692599 (patch)
tree14129c6e6ec56ac72d8dfde140a19e228d399b55 /src
parent191c95c1c2e747fb3279a03326e7ca3d7c13df05 (diff)
downloadcmumble-af77c11424193eaaf7cb56b5c94b303fcf692599.tar.gz
cmumble-af77c11424193eaaf7cb56b5c94b303fcf692599.tar.bz2
cmumble-af77c11424193eaaf7cb56b5c94b303fcf692599.zip
gen_message_list.sed: Add an exmaple
This should help understanding that code easily.
Diffstat (limited to 'src')
-rw-r--r--src/gen_message_list.sed2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen_message_list.sed b/src/gen_message_list.sed
index eb5037b..f927df4 100644
--- a/src/gen_message_list.sed
+++ b/src/gen_message_list.sed
@@ -6,6 +6,8 @@ i\
#define MUMBLE_MSGS \\
}
+# This code attempts to generate "MUMBLE_MSG(FooBar, foo_bar)" from "FooBar"
+
# Backup original message name
h
# Prefix uppercase characters that follow a lowercase one