Skip to content

Commit 9a2d183

Browse files
committed
syntax: add temporary 'foreach' keyword.
1 parent a8840d7 commit 9a2d183

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libsyntax/parse/token.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ fn mk_fresh_ident_interner() -> @ident_interner {
475475

476476
"be", // 65
477477
"in", // 66
478+
"foreach", // 67
478479
];
479480

480481
@ident_interner {
@@ -571,6 +572,7 @@ pub mod keywords {
571572
False,
572573
Fn,
573574
For,
575+
ForEach,
574576
If,
575577
Impl,
576578
In,
@@ -614,6 +616,7 @@ pub mod keywords {
614616
False => ident { name: 40, ctxt: 0 },
615617
Fn => ident { name: 41, ctxt: 0 },
616618
For => ident { name: 42, ctxt: 0 },
619+
ForEach => ident { name: 67, ctxt: 0 },
617620
If => ident { name: 43, ctxt: 0 },
618621
Impl => ident { name: 44, ctxt: 0 },
619622
In => ident { name: 66, ctxt: 0 },

0 commit comments

Comments
 (0)