-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::left_denotations): it will stop parsing when '=>' or ',' is encountered if restrictions.stop_on_token is on (Parser::null_denotation): Same as above stopping for the special tokens * parse/rust-parse.h (struct ParseRestrictions): Added a field of stop_on_token for executing above functionality.
- Loading branch information
1 parent
fdf7178
commit 8c6471b
Showing
2 changed files
with
6 additions
and
3 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