forked from scala/scala3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak java getlitch not to skip zero (scala#18491)
The "skip zero" behavior was to accommodate escaped EOL in a text block, but also skips zero-valued escaped char `\0`. This fix is less precious and uses a flag called `skip`. Scala 2 previously received the complementary fix, because it wasn't preserving the char before the escaped EOL (after backporting the dotty code): scala/scala#10024
- Loading branch information
Showing
4 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,11 @@ XY | |
==== | ||
X Y | ||
==== | ||
582059 | ||
==== | ||
00 | ||
==== | ||
2a | ||
==== | ||
c3bf | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters