diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-09-29 13:48:00 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-09-29 17:20:36 +0100 |
commit | 7e9255c9c8ef139223b7f3b0ee77f65f9a9ebfa6 (patch) | |
tree | 7152ec6606e2744d927509788541a7be839d5d8e /embed.pl | |
parent | 9be14afeeaf32ed8bfffc3fe55a17d99d7c9bd29 (diff) | |
download | perl-7e9255c9c8ef139223b7f3b0ee77f65f9a9ebfa6.tar.gz |
When generating embed.h, return early if an embed.fnc entry causes no output.
This removes several adjacent empty pairs of #ifdef/#endif.
Diffstat (limited to 'embed.pl')
-rwxr-xr-x | embed.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -465,6 +465,7 @@ walk_table { $ret .= $alist . ")\n"; } } + return "" unless $ret; unless ($flags =~ /A/) { if ($flags =~ /E/) { $new_ifdef_state |