Skip to content

Commit f954de9

Browse files
committed
---
yaml --- r: 30433 b: refs/heads/incoming c: 528373b h: refs/heads/master i: 30431: bd18dca v: v3
1 parent 3055b66 commit f954de9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9-
refs/heads/incoming: f53c2948aa6bd0ffc47527e977cb278d48467a75
9+
refs/heads/incoming: 528373b79b63ef9104325bb71cfcf39752352b80
1010
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libsyntax/parse/token.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,7 @@ fn keyword_table() -> hashmap<~str, ()> {
382382
fn contextual_keyword_table() -> hashmap<~str, ()> {
383383
let words = str_hash();
384384
let keys = ~[
385-
~"as",
386-
~"else",
387-
~"move",
388-
~"priv", ~"pub",
389385
~"self", ~"static",
390-
~"use"
391386
];
392387
for keys.each |word| {
393388
words.insert(word, ());
@@ -412,6 +407,7 @@ fn contextual_keyword_table() -> hashmap<~str, ()> {
412407
fn restricted_keyword_table() -> hashmap<~str, ()> {
413408
let words = str_hash();
414409
let keys = ~[
410+
~"as",
415411
~"assert",
416412
~"break",
417413
~"const", ~"copy",
@@ -421,11 +417,11 @@ fn restricted_keyword_table() -> hashmap<~str, ()> {
421417
~"if", ~"impl", ~"import",
422418
~"let", ~"log", ~"loop",
423419
~"match", ~"mod", ~"move", ~"mut",
424-
~"pure",
420+
~"priv", ~"pub", ~"pure",
425421
~"ref", ~"return",
426422
~"struct",
427423
~"true", ~"trait", ~"type",
428-
~"unchecked", ~"unsafe",
424+
~"unchecked", ~"unsafe", ~"use",
429425
~"while"
430426
];
431427
for keys.each |word| {

0 commit comments

Comments
 (0)