From 9c7e16e48d15b3380cc680f6194fe3516867d2db Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 8 Mar 2013 18:32:03 -0800 Subject: Remove the log keyword (by renaming it to __log) We can't quite remove logging from the language, but this hides the keyword. --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 99c1c2cb1fe..7d3f5c12612 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1184,7 +1184,7 @@ pub impl Parser { } } hi = self.span.hi; - } else if self.eat_keyword(&~"log") { + } else if self.eat_keyword(&~"__log") { self.expect(&token::LPAREN); let lvl = self.parse_expr(); self.expect(&token::COMMA); -- cgit 1.4.1-3-g733a5