diff options
| author | bors <bors@rust-lang.org> | 2013-09-26 18:46:10 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-26 18:46:10 -0700 |
| commit | a94158ce64524b7e21e6c8ec23a6b762d45926fb (patch) | |
| tree | 910767022dcecd289d5725833b1150054be5ef68 /src/libsyntax/ext | |
| parent | 1434b4bfcafe90cffa6627e3be18a9e5b6501ad1 (diff) | |
| parent | c1d64297f071ea166ffbe5aea4fa5f94da3b3622 (diff) | |
| download | rust-a94158ce64524b7e21e6c8ec23a6b762d45926fb.tar.gz rust-a94158ce64524b7e21e6c8ec23a6b762d45926fb.zip | |
auto merge of #9504 : brson/rust/continue, r=alexcrichton
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/asm.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libsyntax/ext/asm.rs b/src/libsyntax/ext/asm.rs index b350ef7bb08..d47435dab56 100644 --- a/src/libsyntax/ext/asm.rs +++ b/src/libsyntax/ext/asm.rs @@ -54,8 +54,8 @@ pub fn expand_asm(cx: @ExtCtxt, sp: Span, tts: &[ast::token_tree]) let mut state = Asm; // Not using labeled break to get us through one round of bootstrapping. - let mut continue = true; - while continue { + let mut continue_ = true; + while continue_ { match state { Asm => { asm = expr_to_str(cx, p.parse_expr(), @@ -142,7 +142,7 @@ pub fn expand_asm(cx: @ExtCtxt, sp: Span, tts: &[ast::token_tree]) match next_state(state) { Some(x) => x, None => { - continue = false; + continue_ = false; break } } @@ -151,19 +151,19 @@ pub fn expand_asm(cx: @ExtCtxt, sp: Span, tts: &[ast::token_tree]) let s = match next_state(state) { Some(x) => x, None => { - continue = false; + continue_ = false; break } }; match next_state(s) { Some(x) => x, None => { - continue = false; + continue_ = false; break } } } else if *p.token == token::EOF { - continue = false; + continue_ = false; break; } else { state |
