diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/comments.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/lexer.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libsyntax/parse/comments.rs b/src/libsyntax/parse/comments.rs index bd164402c1d..d351d492fb0 100644 --- a/src/libsyntax/parse/comments.rs +++ b/src/libsyntax/parse/comments.rs @@ -56,7 +56,7 @@ fn strip_doc_comment_decoration(comment: str) -> str { let mut i = max.get_default(uint::max_value); for lines.each |line| { if line.trim().is_empty() { - cont; + again; } for line.each_chari |j, c| { if j >= i { diff --git a/src/libsyntax/parse/lexer.rs b/src/libsyntax/parse/lexer.rs index 467f1896979..600aa9f4c42 100644 --- a/src/libsyntax/parse/lexer.rs +++ b/src/libsyntax/parse/lexer.rs @@ -310,7 +310,7 @@ fn scan_digits(rdr: string_reader, radix: uint) -> str { let mut rslt = ""; loop { let c = rdr.curr; - if c == '_' { bump(rdr); cont; } + if c == '_' { bump(rdr); again; } alt char::to_digit(c, radix) { some(d) { str::push_char(rslt, c); diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index ba31a610f27..6a166591887 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1140,7 +1140,7 @@ class parser { } _ { self.unexpected(); } } - cont; + again; } if self.expr_is_complete(e) { break; } alt copy self.token { |
