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:
Brian Anderson 2013-03-08 18:32:03 -08:00
parent cb37d09f50
commit 9c7e16e48d
4 changed files with 10 additions and 24 deletions

View file

@ -495,7 +495,7 @@ pub fn strict_keyword_table() -> HashMap<~str, ()> {
~"else", ~"enum", ~"extern",
~"false", ~"fn", ~"for",
~"if", ~"impl",
~"let", ~"log", ~"loop",
~"let", ~"__log", ~"loop",
~"match", ~"mod", ~"mut",
~"once",
~"priv", ~"pub", ~"pure",