Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add expr_2021 to FOLLOW set rules
  • Loading branch information
ehuss committed Oct 2, 2024
commit a5f20e3310a8b1051973f2dd14020101597ceefe
2 changes: 1 addition & 1 deletion src/macro-ambiguity.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ represent simple nonterminals with the given fragment specifier.

* FOLLOW(pat) = {`=>`, `,`, `=`, `|`, `if`, `in`}`.

* FOLLOW(expr) = FOLLOW(stmt) = {`=>`, `,`, `;`}`.
* FOLLOW(expr) = FOLLOW(expr_2021) = FOLLOW(stmt) = {`=>`, `,`, `;`}`.

* FOLLOW(ty) = FOLLOW(path) = {`{`, `[`, `,`, `=>`, `:`, `=`, `>`, `>>`, `;`,
`|`, `as`, `where`, block nonterminals}.
Expand Down