aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/lexer.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-19 11:21:23 +0200
committerMarijn Haverbeke <[email protected]>2011-04-19 16:57:13 +0200
commit6d3a423094c77b25b20afe3a812a67f03080cc3d (patch)
treea2293502572a511ba35253830574632105b0b40d /src/comp/front/lexer.rs
parentAdd log_err to rustboot (diff)
downloadrust-6d3a423094c77b25b20afe3a812a67f03080cc3d.tar.xz
rust-6d3a423094c77b25b20afe3a812a67f03080cc3d.zip
add log_err to rustc
Diffstat (limited to 'src/comp/front/lexer.rs')
-rw-r--r--src/comp/front/lexer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/front/lexer.rs b/src/comp/front/lexer.rs
index 36269515..8d4c464d 100644
--- a/src/comp/front/lexer.rs
+++ b/src/comp/front/lexer.rs
@@ -152,6 +152,7 @@ fn keyword_table() -> std.map.hashmap[str, token.token] {
keywords.insert("const", token.CONST);
keywords.insert("log", token.LOG);
+ keywords.insert("log_err", token.LOG_ERR);
keywords.insert("spawn", token.SPAWN);
keywords.insert("thread", token.THREAD);
keywords.insert("yield", token.YIELD);