diff options
| author | Graydon Hoare <[email protected]> | 2010-11-22 17:41:26 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-22 17:41:32 -0800 |
| commit | e05d7c3ac1e72edff337719fe58da69e959c4cf4 (patch) | |
| tree | b040d23dac019f8caf1157b385e4b6f915696815 /src/comp/front/parser.rs | |
| parent | rustc: "Expected" and "actual" were swapped. Also un-XFAIL compile-fail/arg-c... (diff) | |
| download | rust-e05d7c3ac1e72edff337719fe58da69e959c4cf4.tar.xz rust-e05d7c3ac1e72edff337719fe58da69e959c4cf4.zip | |
Support mach types in rustc, enable 5 more tests.
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 8e47cf77..732e5b17 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -287,6 +287,10 @@ impure fn parse_lit(parser p) -> option.t[ast.lit] { p.bump(); lit = ast.lit_uint(u); } + case (token.LIT_MACH_INT(?tm, ?i)) { + p.bump(); + lit = ast.lit_mach_int(tm, i); + } case (token.LIT_CHAR(?c)) { p.bump(); lit = ast.lit_char(c); |