py: added doc, unittests, anonymous encryption mode

This commit is contained in:
git@daemon.de
2014-12-24 11:17:03 +01:00
parent b52ac4b0df
commit 5f8d50ec47
11 changed files with 394 additions and 78 deletions

View File

@@ -68,7 +68,6 @@ foreach my $head (@ARGV) {
my ($name, $def) = split /\s\s*/, $1, 2;
$def =~ s/\/\*.*//;
if (!exists $defs{$name} && $def !~ /(sizeof| \+ )/) {
print STDERR "name: $name\ndef: $def\n\n";
$defs{$name} = "\n# $0: from $head:$.\n$name = $def\n";
}
}