diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-24 14:03:25 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-24 14:03:25 -0800 |
| commit | 19cd9686e767f7ad686b9f0a1fb05426f9adec99 (patch) | |
| tree | c3dd93924d8deab012822d546c6d258266365fe9 /src/comp/syntax/parse | |
| parent | 493142ffd4c33bbb370de792dc393e968d3e96be (diff) | |
| download | rust-19cd9686e767f7ad686b9f0a1fb05426f9adec99.tar.gz rust-19cd9686e767f7ad686b9f0a1fb05426f9adec99.zip | |
comp: Fix syntax error in parser
Diffstat (limited to 'src/comp/syntax/parse')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index f7574b76371..1ae1cc2ecb9 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -150,7 +150,7 @@ fn bad_expr_word_table() -> hashmap<str, ()> { "assert", "claim", "native", "fn", "pure", "unsafe", "import", "export", "let", "const", "log", "copy", "sendfn", "impl", "iface", "enum", - "m32", "m64", "m128", "f80", "f16", f128", + "m32", "m64", "m128", "f80", "f16", "f128", "class", "trait"] { words.insert(word, ()); } |
