diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-07-29 15:59:38 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-07-29 18:00:10 -0700 |
| commit | 126cd44c38404f51cc3c42e9dfde771c527bdbd6 (patch) | |
| tree | 34391b105b06d56f46e1fb60ed768ff861a7af9b /src/rt/rust_kernel.cpp | |
| parent | 59c441a66a86d04087f15aaa9d624fb3c24fcb54 (diff) | |
| download | rust-126cd44c38404f51cc3c42e9dfde771c527bdbd6.tar.gz rust-126cd44c38404f51cc3c42e9dfde771c527bdbd6.zip | |
Refactor typestate code involving stmt_decls
To handle multiple-LHS declarations with initializers properly, I changed seq_states to take a list of expressions paired with optional names, not just a list of expressions. Then, the same logic that handles ordered lists of subexpressions everywhere else can handle multi- declarations.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
