comments in preferences-metadata file
This commit is contained in:
parent
349d25a2d2
commit
da8958c330
@ -7,6 +7,7 @@ $heading = "";
|
||||
$accumulated = "";
|
||||
|
||||
print "
|
||||
/* This file was generated by tools/process-metadata */
|
||||
void
|
||||
UIConfiguration::build_metadata ()
|
||||
{
|
||||
@ -14,6 +15,10 @@ UIConfiguration::build_metadata ()
|
||||
#define VAR_META(name,...) { char const * _x[] { __VA_ARGS__ }; all_metadata.insert (std::make_pair<std::string,Metadata> ((name), PBD::upcase (_x))); }\n\n";
|
||||
|
||||
while (<>) {
|
||||
if (/^#/) {
|
||||
next;
|
||||
}
|
||||
|
||||
if (/\[SECTION:/) {
|
||||
chop;
|
||||
s/\[SECTION://;
|
||||
|
Loading…
Reference in New Issue
Block a user