Skip to content

Commit

Permalink
Merge pull request #1479 from tom-tan/replace-printf-by-writeln
Browse files Browse the repository at this point in the history
Replace core.stdc.stdio.printf by std.stdio.writeln
  • Loading branch information
AndrejMitrovic committed Aug 16, 2013
2 parents 0fff745 + 5ef5b86 commit 85661ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/string.d
Expand Up @@ -24,6 +24,7 @@ Source: $(PHOBOSSRC std/_string.d)
module std.string;

//debug=string; // uncomment to turn on debugging printf's
debug(string) import core.stdc.stdio;

import core.exception : RangeError, onRangeError;
import core.vararg, core.stdc.stdlib, core.stdc.string,
Expand Down Expand Up @@ -3183,7 +3184,7 @@ bool isNumeric(const(char)[] s, in bool bAllowSep = false)

unittest
{
debug (string) printf("isNumeric(in string, bool = false).unittest\n");
debug(string) printf("isNumeric(in string, bool = false).unittest\n");

assertCTFEable!(
{
Expand Down

0 comments on commit 85661ad

Please sign in to comment.