File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
trunk/src/libsyntax/parse Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: a08919a52273e8fdeb044e43be16c72915760035
2
+ refs/heads/master: 8f0e9ff02914459a98d1727f5bf0c26bba604bb9
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -2285,7 +2285,8 @@ impl parser {
2285
2285
let stmt = self . parse_stmt ( initial_attrs) ;
2286
2286
initial_attrs = ~[ ] ;
2287
2287
match stmt. node {
2288
- stmt_expr( e, stmt_id) => { // Expression without semicolon:
2288
+ stmt_expr( e, stmt_id) => {
2289
+ // Expression without semicolon
2289
2290
match self . token {
2290
2291
token:: SEMI => {
2291
2292
self . bump ( ) ;
@@ -2297,9 +2298,11 @@ impl parser {
2297
2298
}
2298
2299
t => {
2299
2300
if classify:: stmt_ends_with_semi ( * stmt) {
2300
- self . fatal ( ~"expected `; ` or `} ` after \
2301
- expression but found `"
2302
- + token_to_str ( self . reader , t) + ~"`") ;
2301
+ self . fatal (
2302
+ ~"expected `; ` or `} ` after \
2303
+ expression but found `"
2304
+ + token_to_str ( self . reader , t)
2305
+ + ~"`") ;
2303
2306
}
2304
2307
stmts. push ( stmt) ;
2305
2308
}
You can’t perform that action at this time.
0 commit comments