Commit b4182b1
committed
Fixes for handling end marker
- Only recognize it under indentSyntax
- But include it as a possible statement start even under Scala 2.
END might be detected before it can be converted back to IDENTIFIER.
So it needs to be included in canStartStatement2, just like IDENTIFIER.1 parent b7bd6a5 commit b4182b1
File tree
2 files changed
+2
-2
lines changed- compiler/src/dotty/tools/dotc/parsing
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
0 commit comments