]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #20310: fhahn/issue-15877-model-lexer-range
authorAlex Crichton <alex@alexcrichton.com>
Tue, 30 Dec 2014 00:36:55 +0000 (16:36 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 30 Dec 2014 00:36:55 +0000 (16:36 -0800)
This patch for #15877 uses Antlr's input lookahead (`_input.LA(1) != '.'`) to solve the conflict between the LIT_FLOAT and the range syntax.

Note that in order to execute the grammar tests, #20245 should land first.


Trivial merge