From 329eca6044fdf376a7a89ec7a96dba7a8b884cf7 Mon Sep 17 00:00:00 2001 From: Michael Sullivan Date: Mon, 25 Jun 2012 20:00:46 -0700 Subject: Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725. --- src/libsyntax/parse/token.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse/token.rs') diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index 9d6427912df..feffbd4020c 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -260,7 +260,7 @@ fn contextual_keyword_table() -> hashmap { "with", /* temp */ "sep", "many", "at_least_one", "parse" - ]; + ]/~; for keys.each {|word| words.insert(word, ()); } @@ -298,7 +298,7 @@ fn restricted_keyword_table() -> hashmap { "true", "trait", "type", "unchecked", "unsafe", "while" - ]; + ]/~; for keys.each {|word| words.insert(word, ()); } -- cgit 1.4.1-3-g733a5