-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not lex ..
as a single DotDotToken
#75549
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
634330c
Add failing test
Rekkonnect 44645f7
WorkItem :)
Rekkonnect 9818686
Merge remote-tracking branch 'upstream/main' into fix/74456-increment…
CyrusNajmabadi d6e55b4
Renames and docs
CyrusNajmabadi 80b11ee
Update tests
CyrusNajmabadi 5a32172
Do not have lexer produce .. token
CyrusNajmabadi ade242c
Move error
CyrusNajmabadi 98016cc
Docs
CyrusNajmabadi 3631afb
Advance
CyrusNajmabadi 24d5ef7
Place at the same locaiton
CyrusNajmabadi 756efc0
Cleanup and consistency
CyrusNajmabadi 1123f41
Break apart numerics
CyrusNajmabadi 18692ca
in progress
CyrusNajmabadi 5181f47
Lexer work
CyrusNajmabadi 3588567
restore
CyrusNajmabadi f202cab
Update src/Compilers/CSharp/Test/Syntax/Parsing/ParsingTests.cs
CyrusNajmabadi 853e317
Simplify
CyrusNajmabadi 206f67d
Merge branch 'dotDotToken' of https://github.com/CyrusNajmabadi/rosly…
CyrusNajmabadi 82d2c50
Update quick scanner as well
CyrusNajmabadi 1cdc99b
More cases
CyrusNajmabadi f5557ec
Consequence parsing
CyrusNajmabadi 46c2a9b
Fixup test
CyrusNajmabadi 2b2ab95
More precise errors
CyrusNajmabadi 28acd3b
Specialized error message
CyrusNajmabadi e57e967
Simplify expression parsing
CyrusNajmabadi e6eb643
Extract helper
CyrusNajmabadi 4f5e6fc
simplify
CyrusNajmabadi b8c14af
simplify
CyrusNajmabadi cc0efdb
simplify
CyrusNajmabadi 28fad18
inline
CyrusNajmabadi 16497d4
Simplify token merging
CyrusNajmabadi c5f6fb7
Fix
CyrusNajmabadi c19fd49
Simplify
CyrusNajmabadi 6dcfc98
Simplify
CyrusNajmabadi 1976c00
Simplify
CyrusNajmabadi 7ff8920
Update src/Compilers/CSharp/Portable/Parser/LanguageParser.cs
CyrusNajmabadi b2145be
Merge remote-tracking branch 'upstream/main' into expressionParsing
CyrusNajmabadi 7874ffb
Merge branch 'expressionParsing' of https://github.com/CyrusNajmabadi…
CyrusNajmabadi fe0c172
Merge remote-tracking branch 'upstream/main' into expressionParsing
CyrusNajmabadi 804f7a6
Tweak comment
CyrusNajmabadi caf82c5
Grammar
CyrusNajmabadi 52190a9
Update src/Compilers/CSharp/Portable/Parser/LanguageParser.cs
CyrusNajmabadi cc4ce54
Lower value slightly
CyrusNajmabadi 78be939
Merge branch 'expressionParsing' into dotDotToken
CyrusNajmabadi 7bb8097
Fix
CyrusNajmabadi cf6235b
Clean up usings
CyrusNajmabadi 6dc3f54
Add tests
CyrusNajmabadi a0b9c62
Merge remote-tracking branch 'upstream/main' into dotDotToken
CyrusNajmabadi a9b9710
Simplify
CyrusNajmabadi d86ef0d
Add tests
CyrusNajmabadi ff0e6e4
Add tests
CyrusNajmabadi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is what fixes incremental parsing.
..
is now always a 'fabricated' (like<<
is), causing the incremental parser to not reuse those. Instead, we always just produce singledot
tokens, and allow the parser to decie what to do with them.