rust-lang/rust — pull request #20310 by fhahn (2014-12-29 21:49:30+00:00)
Title: Handle range in model lexer correctly #15877

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.