]> git.lizzy.rs Git - rust.git/commit
syntax: Parse GT tokens from `>=` and `>>=`
authorAlex Crichton <alex@alexcrichton.com>
Fri, 20 Jun 2014 16:53:12 +0000 (09:53 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 20 Jun 2014 16:53:12 +0000 (09:53 -0700)
commitf0c730b819939f691076fec85319a6d11fa7b67d
treeee39ae1eaeb4a035ff8b04e0359cdcf7447fce2f
parent6750eb5a05042fe3fb84708909074f33ad86d3ec
syntax: Parse GT tokens from `>=` and `>>=`

The parser already has special logic for parsing `>` tokens from `>>`, and this
commit extends the logic to the acquiring a `>` from the `>=` and `>>=` tokens
as well.

Closes #15043
src/libsyntax/parse/parser.rs
src/test/run-pass/issue-15043.rs [new file with mode: 0644]