diff options
Diffstat (limited to 'src/aterm-helper.pl')
-rwxr-xr-x | src/aterm-helper.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/aterm-helper.pl b/src/aterm-helper.pl index 5b7b33691d21..9b2bde700017 100755 --- a/src/aterm-helper.pl +++ b/src/aterm-helper.pl @@ -47,6 +47,7 @@ print HEADER "#endif\n\n\n"; print IMPL "namespace nix {\n"; while (<STDIN>) { + s/\#.*//; next if (/^\s*$/); if (/^\s*(\w*)\s*\|([^\|]*)\|\s*(\w+)\s*\|\s*(\w+)?/) { |