diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-30 17:36:17 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-30 17:36:17 -0400 |
commit | dc9fd4538267a3f793c9eee27c8bb118e784b778 (patch) | |
tree | 2a577888684de8a7d75591d07701761f1642fcd4 /sd_messages | |
parent | cb4fea2e01e6923a016fdc57c48ee9d4045d8428 (diff) |
sd_messages: Update messages.go.gen to work with systemd 233
Diffstat (limited to 'sd_messages')
-rwxr-xr-x | sd_messages/messages.go.gen | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd_messages/messages.go.gen b/sd_messages/messages.go.gen index 3314df3..d4e200c 100755 --- a/sd_messages/messages.go.gen +++ b/sd_messages/messages.go.gen @@ -22,6 +22,7 @@ 1aimport "git.lukeshu.com/go/libsystemd/sd_id128" 1avar ( /^#define\s+SD_MESSAGE_/ { + /\\$/{N;s/\\\n//g;} s/^#define\s+SD_MESSAGE_(\S*)/\1 =/ @@ -29,6 +30,8 @@ s/,/,0x/g s/\)/}/ + /SD_ID128_MAKE_STR/d + s/(^|_)([A-Z])([A-Z]*)/\U\2\L\3/g p |