mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
Merge pull request #221 from ruuda/rust113
Restore Rust 1.13 compatibility
This commit is contained in:
commit
2b434f4869
@ -1,6 +1,6 @@
|
||||
language: rust
|
||||
rust:
|
||||
- stable
|
||||
- 1.16.0
|
||||
- beta
|
||||
- nightly
|
||||
script:
|
||||
|
@ -422,7 +422,7 @@ fn generics_issue_104_test1() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn match_section() {
|
||||
fn test_match_section() {
|
||||
assert!(match_section::parse_Query("SELECT foo").is_ok());
|
||||
assert!(match_section::parse_Query("select foo").is_ok());
|
||||
assert!(match_section::parse_Query("INSERT foo").is_ok());
|
||||
|
@ -1,6 +1,8 @@
|
||||
use super::*;
|
||||
|
||||
use collections::Multimap;
|
||||
use collections::{Map, Multimap, Set};
|
||||
use ena::unify::UnificationTable;
|
||||
use lr1::core::{Action, LR1State, StateIndex};
|
||||
use lr1::lane_table::construct::state_set::StateSet;
|
||||
use lr1::lane_table::table::LaneTable;
|
||||
use lr1::lane_table::table::context_set::ContextSet;
|
||||
|
||||
/// The "merge" phase of the algorithm is described in "Step 3c" of
|
||||
|
@ -28,7 +28,7 @@ pub struct LaneTableConstruct<'grammar> {
|
||||
impl<'grammar> LaneTableConstruct<'grammar> {
|
||||
pub fn new(grammar: &'grammar Grammar, start_nt: NonterminalString) -> Self {
|
||||
let first_sets = FirstSets::new(grammar);
|
||||
Self {
|
||||
LaneTableConstruct {
|
||||
grammar: grammar,
|
||||
start_nt: start_nt,
|
||||
first_sets: first_sets,
|
||||
|
Loading…
x
Reference in New Issue
Block a user