Skip to content

Commit 31468c1

Browse files
committed
create u+ list for parsing escape characters
1 parent 0e091d8 commit 31468c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JavaFrontParser/syntax/languages/java-15/lexical/UnicodeEscapes.sdf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ exports
99
UnicodeEscape
1010

1111
syntax
12-
"\\" [u]+ [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] -> UnicodeEscape {cons("UnicodeEscape")}
12+
"\\" UList [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] [0-9a-fA-F] -> UnicodeEscape {cons("UnicodeEscape")}
13+
[u]+ -> UList {cons("UList")}

0 commit comments

Comments
 (0)