Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Apr 19, 2020

Handle end markers in parser instead of in Scanner, adding end markers
to the context free syntax.

odersky added 2 commits April 19, 2020 15:34
 - Use Eql derivation in Namer
 - Use end markers in Nullables
 - Fix a link in overview doc
Handle end markers in parser instead of in Scanner, adding end markers
to the context free syntax.
odersky added 5 commits April 19, 2020 16:30
 - recognize end markers after toplevel package objects
 - don't let newline insertion be confused by endmarker tokens
@odersky odersky requested a review from liufengyun April 22, 2020 09:37
@odersky odersky added this to the 0.24.0-RC1 milestone Apr 22, 2020
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


```
EndMarker ::= ‘end’ EndMarkerTag -- when followed by EOL
EndMarkerTag ::= id |if|while|for|match|try
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The try seems to be a display problem, it looks fine when we render the page separately.

@liufengyun liufengyun merged commit c986fdd into scala:master Apr 22, 2020
@liufengyun liufengyun deleted the fix-#8731 branch April 22, 2020 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants