@@ -362,15 +362,15 @@ fn mk_fake_ident_interner() -> ident_interner {
362
362
/**
363
363
* All the valid words that have meaning in the Rust language.
364
364
*
365
- * Rust keywords are either 'contextual ', 'restricted', or 'strict'.
366
- * Contextual keywords may be used as identifiers because their appearance in
367
- * the grammar is unambiguous. Restricted keywords may not appear in positions
368
- * that might otherwise contain _value identifiers_. Strict keywords may not
369
- * appear as identifiers.
365
+ * Rust keywords are either 'temporary ', 'restricted', or 'strict'. Temporary
366
+ * keywords are contextual and may be used as identifiers anywhere. They are
367
+ * expected to disappear from the grammar soon. Restricted keywords may not
368
+ * appear in positions that might otherwise contain _value identifiers_.
369
+ * Strict keywords may not appear as identifiers at all .
370
370
*/
371
371
fn keyword_table( ) -> HashMap < ~str , ( ) > {
372
372
let keywords = str_hash ( ) ;
373
- for contextual_keyword_table ( ) . each_key |word| {
373
+ for temporary_keyword_table ( ) . each_key |word| {
374
374
keywords. insert( word, ( ) ) ;
375
375
}
376
376
for restricted_keyword_table( ) . each_key |word| {
@@ -386,7 +386,7 @@ fn keyword_table() -> HashMap<~str, ()> {
386
386
}
387
387
388
388
/// Keywords that may be used as identifiers
389
- fn contextual_keyword_table ( ) -> HashMap < ~str , ( ) > {
389
+ fn temporary_keyword_table ( ) -> HashMap < ~str , ( ) > {
390
390
let words = str_hash( ) ;
391
391
let keys = ~[
392
392
~"self ", ~" static",
0 commit comments