Skip to content
Snippets Groups Projects
Commit 7b59f8f6 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed bug.

Rev: lib/modules/Debug.pmod/werror.pmod:1.3
parent 14980509
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: werror.pmod,v 1.2 1999/09/26 14:21:22 grubba Exp $ * $Id: werror.pmod,v 1.3 1999/12/30 00:36:10 grubba Exp $
* *
* Some functions to simplify writing debug-messages. * Some functions to simplify writing debug-messages.
* (Aren't we lazy? :-) ) * (Aren't we lazy? :-) )
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
function(:int(0..0)) `[](string print_what) function(:int(0..0)) `[](string print_what)
{ {
if (print_what=="") print_what="bipp\n"; if (print_what=="") print_what="bipp\n";
else if (print_what[-1]!="\n") print_what+="\n"; else if (print_what[-1]!='\n') print_what+="\n";
return lambda() { werror(print_what); return 0; }; return lambda() { werror(print_what); return 0; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment