diff options
| author | Josh Matthews <josh@joshmatthews.net> | 2011-09-21 03:00:32 -0400 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-21 09:36:12 +0200 |
| commit | ce0f054f9d56df4e60291fc2e1b89ce979cf374f (patch) | |
| tree | c468615e0a4e1ef007a5330fd0b37fb6669de8b9 /src/comp/syntax/ast.rs | |
| parent | e6a84f252ab7a016dd923adbf31e8c86deab1d72 (diff) | |
| download | rust-ce0f054f9d56df4e60291fc2e1b89ce979cf374f.tar.gz rust-ce0f054f9d56df4e60291fc2e1b89ce979cf374f.zip | |
Implement pattern ranges for all numeric types.
Diffstat (limited to 'src/comp/syntax/ast.rs')
| -rw-r--r-- | src/comp/syntax/ast.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index ad6aacb1549..a409f7c2437 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -92,6 +92,7 @@ tag pat_ { pat_rec([field_pat], bool); pat_tup([@pat]); pat_box(@pat); + pat_range(@lit, @lit); } tag mutability { mut; imm; maybe_mut; } |
