Skip to content

Commit

Permalink
syntax: add temporary 'foreach' keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
graydon committed Jul 30, 2013
1 parent a8840d7 commit 9a2d183
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsyntax/parse/token.rs
Expand Up @@ -475,6 +475,7 @@ fn mk_fresh_ident_interner() -> @ident_interner {

"be", // 65
"in", // 66
"foreach", // 67
];

@ident_interner {
Expand Down Expand Up @@ -571,6 +572,7 @@ pub mod keywords {
False,
Fn,
For,
ForEach,
If,
Impl,
In,
Expand Down Expand Up @@ -614,6 +616,7 @@ pub mod keywords {
False => ident { name: 40, ctxt: 0 },
Fn => ident { name: 41, ctxt: 0 },
For => ident { name: 42, ctxt: 0 },
ForEach => ident { name: 67, ctxt: 0 },
If => ident { name: 43, ctxt: 0 },
Impl => ident { name: 44, ctxt: 0 },
In => ident { name: 66, ctxt: 0 },
Expand Down

0 comments on commit 9a2d183

Please sign in to comment.