]> git.lizzy.rs Git - rust.git/commit
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)
commit021c2f3712312d3170b1dbd27a3bd92360b541d3
treefde5600d21f58198322b0c435a634fdb1cee49b0
parent731fcfc2892d0aa45af22cc9eaa23c804cd9cefa
parent808945c21c5128e4db2b23c4107c8b9d7e3382e1
rollup merge of #20310: fhahn/issue-15877-model-lexer-range

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.