We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2e4bf commit 6c4debdCopy full SHA for 6c4debd
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: c0f66a52404521ae159ce9e2778eefa5d27a58e0
+refs/heads/master: 2bd78c176dc638773c527d85160e284bcaf0a5b6
trunk/src/boot/fe/lexer.mll
@@ -297,7 +297,8 @@ rule token = parse
297
| '\'' { char lexbuf }
298
| '"' { let buf = Buffer.create 32 in
299
str buf lexbuf }
300
-
+| _ as c { let s = Char.escaped c in
301
+ fail lexbuf ("Bad character: " ^ s) }
302
| eof { EOF }
303
304
and str buf = parse
0 commit comments