Commit d79b17e6 authored by Robert Griesemer's avatar Robert Griesemer

- Make Coco/R-based parser work w/ UTF-8 encoded files even if there is

  no (optional) UTF-8 marker present.

SVN=113931
parent 41d34e24
......@@ -9,9 +9,8 @@ package main
func main() {
[ ' ',
'a',
// need to fix Coco/R scanner to read Unicode.
// 'ä',
//'本',
'ä',
'本',
'\a',
'\b',
'\f',
......
......@@ -3,6 +3,7 @@
# license that can be found in the LICENSE file.
#!/bin/bash
GO=$1
for f in *.go; do
go $f
$GO $f
done
......@@ -11,8 +11,8 @@ func main() {
" ",
"'`",
"a",
//"ä",
//"本",
"ä",
"本",
"\a\b\f\n\r\t\v\\\'\"",
"\000\123\x00\xca\xFE\u0123\ubabe\U0123ABCD\Ucafebabe",
......@@ -20,8 +20,8 @@ func main() {
` `,
`'"`,
`a`,
//`ä`,
//`本`,
`ä`,
`本`,
`\a\b\f\n\r\t\v\\\'\"`,
`\000\123\x00\xca\xFE\u0123\ubabe\U0123ABCD\Ucafebabe`,
`\x\u\U\`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment