Skip to content

Commit c2b7cd5

Browse files
committed
---
yaml --- r: 20733 b: refs/heads/snap-stage3 c: ef29f7f h: refs/heads/master i: 20731: cbf166a v: v3
1 parent 395f1ce commit c2b7cd5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 416584d3398bb1659b5dcc987f13e42fd4086486
4+
refs/heads/snap-stage3: ef29f7ff3659712bc045e47778c45ebe504f1387
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/parse/token.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn to_str(in: interner<@~str>, t: token) -> ~str {
136136
DOT { ~"." }
137137
ELLIPSIS { ~"..." }
138138
COMMA { ~"," }
139-
SEMI { ~"" }
139+
SEMI { ~";" }
140140
COLON { ~":" }
141141
MOD_SEP { ~"::" }
142142
RARROW { ~"->" }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Testing that semicolon tokens are printed correctly in errors
2+
3+
fn main()
4+
{
5+
let x = 3
6+
} //~ ERROR: expected `;` but found `}`

0 commit comments

Comments
 (0)