diff options
author | Simon Josefsson <simon@josefsson.org> | 2006-06-27 15:23:47 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2006-06-27 15:23:47 +0000 |
commit | 1319b101ef70042a9f6fc5c8da8070006aa6bf7c (patch) | |
tree | 558f55fdbc24bec91733bc1e4a6afd061d223a04 | |
parent | a88f87d239d51a32ae8e02db014fc3e2c1fee57b (diff) | |
download | libtasn1-1319b101ef70042a9f6fc5c8da8070006aa6bf7c.tar.gz libtasn1-1319b101ef70042a9f6fc5c8da8070006aa6bf7c.tar.bz2 libtasn1-1319b101ef70042a9f6fc5c8da8070006aa6bf7c.zip |
Use GNU-style warnings.
-rwxr-xr-x | doc/gdoc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -742,7 +742,7 @@ sub dump_function { if ($parameters{$param} eq "" && $param != "void") { $parameters{$param} = "-- undescribed --"; - print STDERR "Warning($lineno): Function parameter '$param' not described in '$function_name'\n"; + print STDERR "warning: $lineno: Function parameter '$param' not described in '$function_name'\n"; } push @parameterlist, $param; @@ -751,7 +751,7 @@ sub dump_function { # print STDERR "param = '$param', type = '$type'\n"; } } else { - print STDERR "Error($lineno): cannot understand prototype: '$prototype'\n"; + print STDERR "warning: $lineno: Cannot understand prototype: '$prototype'\n"; return; } @@ -831,7 +831,7 @@ foreach $file (@ARGV) { print STDERR "Info($lineno): Scanning doc for $function\n"; } } else { - print STDERR "WARN($lineno): Cannot understand $_ on line $lineno", + print STDERR "warning: $lineno: Cannot understand $_ on line $lineno", " - I thought it was a doc line\n"; $state = 0; } @@ -873,7 +873,7 @@ foreach $file (@ARGV) { } } else { # i dont know - bad line? ignore. - print STDERR "WARNING($lineno): bad line: $_"; + print STDERR "warning: $lineno: Bad line: $_"; } } elsif ($state == 3) { # scanning for function { (end of prototype) if (m#\s*/\*\s+MACDOC\s*#io) { |