syntax: add temporary 'foreach' keyword.
This commit is contained in:
parent
a8840d70a5
commit
9a2d183d6a
1 changed files with 3 additions and 0 deletions
|
@ -475,6 +475,7 @@ fn mk_fresh_ident_interner() -> @ident_interner {
|
||||||
|
|
||||||
"be", // 65
|
"be", // 65
|
||||||
"in", // 66
|
"in", // 66
|
||||||
|
"foreach", // 67
|
||||||
];
|
];
|
||||||
|
|
||||||
@ident_interner {
|
@ident_interner {
|
||||||
|
@ -571,6 +572,7 @@ pub mod keywords {
|
||||||
False,
|
False,
|
||||||
Fn,
|
Fn,
|
||||||
For,
|
For,
|
||||||
|
ForEach,
|
||||||
If,
|
If,
|
||||||
Impl,
|
Impl,
|
||||||
In,
|
In,
|
||||||
|
@ -614,6 +616,7 @@ pub mod keywords {
|
||||||
False => ident { name: 40, ctxt: 0 },
|
False => ident { name: 40, ctxt: 0 },
|
||||||
Fn => ident { name: 41, ctxt: 0 },
|
Fn => ident { name: 41, ctxt: 0 },
|
||||||
For => ident { name: 42, ctxt: 0 },
|
For => ident { name: 42, ctxt: 0 },
|
||||||
|
ForEach => ident { name: 67, ctxt: 0 },
|
||||||
If => ident { name: 43, ctxt: 0 },
|
If => ident { name: 43, ctxt: 0 },
|
||||||
Impl => ident { name: 44, ctxt: 0 },
|
Impl => ident { name: 44, ctxt: 0 },
|
||||||
In => ident { name: 66, ctxt: 0 },
|
In => ident { name: 66, ctxt: 0 },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue