Skip to content

Commit 0b3917a

Browse files
committed
---
yaml --- r: 22841 b: refs/heads/master c: ef29f7f h: refs/heads/master i: 22839: 030be81 v: v3
1 parent 772f265 commit 0b3917a

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,5 +1,5 @@
11
---
2-
refs/heads/master: 416584d3398bb1659b5dcc987f13e42fd4086486
2+
refs/heads/master: ef29f7ff3659712bc045e47778c45ebe504f1387
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/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)