@@ -477,14 +477,15 @@ fn mk_fresh_ident_interner() -> @ident_interner {
477
477
"use" , // 61
478
478
"while" , // 62
479
479
"in" , // 63
480
-
481
- "be" , // 64
482
- "pure" , // 65
483
- "yield" , // 66
484
- "typeof" , // 67
485
- "alignof" , // 68
486
- "offsetof" , // 69
487
- "sizeof" , // 70
480
+ "continue" , // 64
481
+
482
+ "be" , // 65
483
+ "pure" , // 66
484
+ "yield" , // 67
485
+ "typeof" , // 68
486
+ "alignof" , // 69
487
+ "offsetof" , // 70
488
+ "sizeof" , // 71
488
489
] ;
489
490
490
491
@interner:: StrInterner :: prefill ( init_vec)
@@ -628,6 +629,7 @@ pub mod keywords {
628
629
Unsafe ,
629
630
Use ,
630
631
While ,
632
+ Continue ,
631
633
632
634
// Reserved keywords
633
635
Alignof ,
@@ -676,14 +678,15 @@ pub mod keywords {
676
678
Unsafe => Ident { name : 60 , ctxt : 0 } ,
677
679
Use => Ident { name : 61 , ctxt : 0 } ,
678
680
While => Ident { name : 62 , ctxt : 0 } ,
679
-
680
- Alignof => Ident { name : 68 , ctxt : 0 } ,
681
- Be => Ident { name : 64 , ctxt : 0 } ,
682
- Offsetof => Ident { name : 69 , ctxt : 0 } ,
683
- Pure => Ident { name : 65 , ctxt : 0 } ,
684
- Sizeof => Ident { name : 70 , ctxt : 0 } ,
685
- Typeof => Ident { name : 67 , ctxt : 0 } ,
686
- Yield => Ident { name : 66 , ctxt : 0 } ,
681
+ Continue => Ident { name : 64 , ctxt : 0 } ,
682
+
683
+ Alignof => Ident { name : 69 , ctxt : 0 } ,
684
+ Be => Ident { name : 65 , ctxt : 0 } ,
685
+ Offsetof => Ident { name : 70 , ctxt : 0 } ,
686
+ Pure => Ident { name : 66 , ctxt : 0 } ,
687
+ Sizeof => Ident { name : 71 , ctxt : 0 } ,
688
+ Typeof => Ident { name : 68 , ctxt : 0 } ,
689
+ Yield => Ident { name : 67 , ctxt : 0 } ,
687
690
}
688
691
}
689
692
}
@@ -709,7 +712,7 @@ pub fn is_any_keyword(tok: &Token) -> bool {
709
712
pub fn is_strict_keyword ( tok : & Token ) -> bool {
710
713
match * tok {
711
714
token:: IDENT ( sid, false ) => match sid. name {
712
- 8 | 27 | 32 .. 63 => true ,
715
+ 8 | 27 | 32 .. 64 => true ,
713
716
_ => false ,
714
717
} ,
715
718
_ => false ,
@@ -719,7 +722,7 @@ pub fn is_strict_keyword(tok: &Token) -> bool {
719
722
pub fn is_reserved_keyword ( tok : & Token ) -> bool {
720
723
match * tok {
721
724
token:: IDENT ( sid, false ) => match sid. name {
722
- 64 .. 70 => true ,
725
+ 65 .. 71 => true ,
723
726
_ => false ,
724
727
} ,
725
728
_ => false ,
0 commit comments