diff options
-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 |