mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
tools/generate-wire.py: include digits in #ifndef idempotent header.
Otherwise check complains that it's '#ifndef LIGHTNING_WIRE_BOLT_WIREGEN_H': wire/bolt12_wiregen.h seems to be missing the expected include guard: #ifndef LIGHTNING_WIRE_BOLT12_WIREGEN_H #define LIGHTNING_WIRE_BOLT12_WIREGEN_H ... #endif /* LIGHTNING_WIRE_BOLT12_WIREGEN_H */ make: *** [Makefile:458: check-includes] Error 1 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
27c006f7aa
commit
6dab04ebd5
@@ -524,7 +524,7 @@ class Master(object):
|
||||
stuff = {}
|
||||
stuff['top_comments'] = self.top_comments
|
||||
stuff['options'] = options
|
||||
stuff['idem'] = re.sub(r'[^A-Z]+', '_', options.header_filename.upper())
|
||||
stuff['idem'] = re.sub(r'[^A-Z0-9]+', '_', options.header_filename.upper())
|
||||
stuff['header_filename'] = options.header_filename
|
||||
stuff['includes'] = self.inclusions
|
||||
stuff['enum_sets'] = enum_sets
|
||||
|
||||
Reference in New Issue
Block a user