Implement pattern ranges for all numeric types.

This commit is contained in:
Josh Matthews 2011-09-21 03:00:32 -04:00 committed by Marijn Haverbeke
parent e6a84f252a
commit ce0f054f9d
14 changed files with 451 additions and 25 deletions

View file

@ -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; }