diff options
| author | Or Brostovski <tohava@gmail.com> | 2010-08-21 02:41:43 +0300 |
|---|---|---|
| committer | Or Brostovski <tohava@gmail.com> | 2010-08-21 02:41:43 +0300 |
| commit | 0830b5bf24a7117130e0089754cd96e51411284d (patch) | |
| tree | 007dbef82fb2e6e63ac0c8153393c0902c22c5be /src/rt/rust_kernel.cpp | |
| parent | 4467d7683dae87d6d4c55e446910f7a5b85abd13 (diff) | |
| download | rust-0830b5bf24a7117130e0089754cd96e51411284d.tar.gz rust-0830b5bf24a7117130e0089754cd96e51411284d.zip | |
Modified parser to handle alt type andadded a few tests
ast.ml - modified arm types for easier polymorphism
- fixed a bug in fmt_type_arm
dead.ml - modified arm types for easier polymorphism
common.ml - added 'either'
- added some useful auxiliary functions
item.ml - modified arm code to be more polymorphic and handle both alt-tag and alt-type, also fixed the problematic case in bad-alt.rs
Makefile - added XFAIL for new alt-type test
bad-alt.rs - added test for invalid alt syntax
alt-type-simple.rs - added simple test for alt type
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
