Skip to content

Commit 48bfb90

Browse files
committed
auto merge of #7775 : poiru/rust/issue-7653, r=huonw
This closes #7653.
2 parents 403cdd8 + 948334f commit 48bfb90

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,18 @@ pub fn core_macros() -> @str {
643643
$(if $pred $body)else+
644644
);
645645
)
646+
647+
macro_rules! print(
648+
($( $arg:expr),+) => ( {
649+
print(fmt!($($arg),+));
650+
} )
651+
)
652+
653+
macro_rules! println(
654+
($( $arg:expr),+) => ( {
655+
println(fmt!($($arg),+));
656+
} )
657+
)
646658
}";
647659
}
648660

0 commit comments

Comments
 (0)