Remove the log keyword (by renaming it to __log)
We can't quite remove logging from the language, but this hides the keyword.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user