diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/versions.awk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/versions.awk b/scripts/versions.awk index a3df316..f4a63f3 100644 --- a/scripts/versions.awk +++ b/scripts/versions.awk @@ -132,8 +132,13 @@ END { closeversion(oldver, veryoldver); veryoldver = oldver; } - printf("%s {\n global:\n", $2) > outfile; oldver = $2; + # Skip the placeholder symbol used only for empty version map. + if ($3 == "__placeholder_only_for_empty_version_map;") { + printf("%s {\n", $2) > outfile; + continue; + } + printf("%s {\n global:\n", $2) > outfile; } printf(" ") > outfile; for (n = 3; n <= NF; ++n) { |