Skip to content

Commit

Permalink
current macro_rules.rs has { if, in } \subset FOLLOW(pat)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Nov 30, 2015
1 parent 2077d8d commit 13fcc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0550-macro-future-proofing.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ specifier for the NT.
The current legal fragment specifiers are: `item`, `block`, `stmt`, `pat`,
`expr`, `ty`, `ident`, `path`, `meta`, and `tt`.
- `FOLLOW(pat)` = `{FatArrow, Comma, Eq, Or}`
- `FOLLOW(pat)` = `{FatArrow, Comma, Eq, Or, Ident(if), Ident(in)}`
- `FOLLOW(expr)` = `{FatArrow, Comma, Semicolon}`
- `FOLLOW(ty)` = `{OpenDelim(Brace), Comma, FatArrow, Colon, Eq, Gt, Ident(as), Ident(where), Semi, Or}`
- `FOLLOW(ty)` = `{OpenDelim(Brace), Comma, FatArrow, Colon, Eq, Gt, Semi, Or, Ident(as), Ident(where)}`
- `FOLLOW(stmt)` = `FOLLOW(expr)`
- `FOLLOW(path)` = `FOLLOW(ty)`
- `FOLLOW(block)` = any token
Expand Down

0 comments on commit 13fcc38

Please sign in to comment.