10000 fix remaining go.syntax issues · rubychan/coderay-scanner-tests@ce22d73 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce22d73

Browse files
committed
fix remaining go.syntax issues
1 parent dcfd84b commit ce22d73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/syntax.expected.raydebug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ comment(// Character literals)
6363
char('\\377')
6464
char('\\x07')
6565
char('\\xff')
66-
char(')error(\\)ident(u12e4)char(')
67-
char(')error(\\)ident(U00101234)char(')
66+
char('\\u12e4')
67+
char('\\U00101234')
6868

6969
comment(// String literals)
7070

@@ -79,7 +79,7 @@ comment(// String literals)
7979
string<delimiter(")char(\\xff)char(\\u00FF)delimiter(")>
8080
string<delimiter(")char(\\uD800)delimiter(")> comment(// illegal: surrogate half)
8181
string<delimiter(")char(\\U00110000)delimiter(")> comment(// illegal: invalid Unicode code point)
82-
string<delimiter(")>error(\\)ident(z)string<delimiter(")content( // illegal)>
82+
string<delimiter(")error(\\)content(z)delimiter(")> comment(// illegal)
8383

8484
comment(// Predeclared identifiers)
8585

0 commit comments

Comments
 (0)
0