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:
parent
cb37d09f50
commit
9c7e16e48d
4 changed files with 10 additions and 24 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue