Skip to content

Commit 6c4debd

Browse files
catamorphismgraydon
authored andcommitted
---
yaml --- r: 1839 b: refs/heads/master c: 2bd78c1 h: refs/heads/master i: 1837: ff057d1 1835: 70a8836 1831: fdd012f 1823: 6be98c8 v: v3
1 parent ca2e4bf commit 6c4debd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c0f66a52404521ae159ce9e2778eefa5d27a58e0
2+
refs/heads/master: 2bd78c176dc638773c527d85160e284bcaf0a5b6

trunk/src/boot/fe/lexer.mll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ rule token = parse
297297
| '\'' { char lexbuf }
298298
| '"' { let buf = Buffer.create 32 in
299299
str buf lexbuf }
300-
300+
| _ as c { let s = Char.escaped c in
301+
fail lexbuf ("Bad character: " ^ s) }
301302
| eof { EOF }
302303

303304
and str buf = parse

0 commit comments

Comments
 (0)