diff options
| author | Graydon Hoare <[email protected]> | 2010-09-14 10:52:32 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-09-14 10:52:32 -0700 |
| commit | 7287d3aaa0545a9b22cea874f2d751de4fefd23d (patch) | |
| tree | d35680fc38e9a559d466be476066bb34243415e2 /src/comp/fe/lexer.rs | |
| parent | Update manual to cover change to nominal tag items. (diff) | |
| download | rust-7287d3aaa0545a9b22cea874f2d751de4fefd23d.tar.xz rust-7287d3aaa0545a9b22cea874f2d751de4fefd23d.zip | |
Teach front-end about simple, first-cut version of const items.
Diffstat (limited to 'src/comp/fe/lexer.rs')
| -rw-r--r-- | src/comp/fe/lexer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/fe/lexer.rs b/src/comp/fe/lexer.rs index e2c83dcc..b303fc3c 100644 --- a/src/comp/fe/lexer.rs +++ b/src/comp/fe/lexer.rs @@ -137,6 +137,7 @@ fn new_reader(stdio_reader rdr, str filename) -> reader keywords.insert("export", token.EXPORT()); keywords.insert("let", token.LET()); + keywords.insert("const", token.CONST()); keywords.insert("log", token.LOG()); keywords.insert("spawn", token.SPAWN()); |