mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
comments in preferences-metadata file
This commit is contained in:
parent
349d25a2d2
commit
da8958c330
1 changed files with 6 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ $heading = "";
|
||||||
$accumulated = "";
|
$accumulated = "";
|
||||||
|
|
||||||
print "
|
print "
|
||||||
|
/* This file was generated by tools/process-metadata */
|
||||||
void
|
void
|
||||||
UIConfiguration::build_metadata ()
|
UIConfiguration::build_metadata ()
|
||||||
{
|
{
|
||||||
|
|
@ -14,7 +15,11 @@ 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";
|
#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 (<>) {
|
while (<>) {
|
||||||
if (/\[SECTION:/) {
|
if (/^#/) {
|
||||||
|
next;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (/\[SECTION:/) {
|
||||||
chop;
|
chop;
|
||||||
s/\[SECTION://;
|
s/\[SECTION://;
|
||||||
s/\]//;
|
s/\]//;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue