summary refs log tree commit diff
path: root/src/libsyntax/parse/token.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-03-08 18:32:03 -0800
committerBrian Anderson <banderson@mozilla.com>2013-03-11 23:19:42 -0700
commit9c7e16e48d15b3380cc680f6194fe3516867d2db (patch)
treebf5fdfb45faa8e8f1023ad46f53c8063245257ef /src/libsyntax/parse/token.rs
parentcb37d09f50e6e1ac50eee35b0874167f0119c114 (diff)
downloadrust-9c7e16e48d15b3380cc680f6194fe3516867d2db.tar.gz
rust-9c7e16e48d15b3380cc680f6194fe3516867d2db.zip
Remove the log keyword (by renaming it to __log)
We can't quite remove logging from the language, but this hides the
keyword.
Diffstat (limited to 'src/libsyntax/parse/token.rs')
-rw-r--r--src/libsyntax/parse/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs
index 81aacbf173d..c41b3aec09b 100644
--- a/src/libsyntax/parse/token.rs
+++ b/src/libsyntax/parse/token.rs
@@ -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",