Skip to content

Commit

Permalink
fixed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Feb 10, 2017
1 parent f5f9304 commit 5f050f0
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ name = "cionc"
path = "src/parser"

[dependencies]
clap = "2.20"
clap = "2.2"
string-interner = "0.2.1"

[[test]]
name = "test_cionc_parser"
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extern crate clap;
extern crate cionc_parser;
extern crate string_interner;

use clap::{Arg, App};

Expand Down
3 changes: 1 addition & 2 deletions src/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ name = "cionc_parser"
path = "lib.rs"

[dependencies]
string-interner = "0.2"
num-traits = "0"
string-interner = "0.2.1"
2 changes: 2 additions & 0 deletions src/parser/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,7 @@ mod tests {
}

#[test]
#[allow(non_snake_case)]
fn binary_integer_literals() {
use token::Token::{Literal, Whitespace};
use token::LiteralToken::Integer;
Expand Down Expand Up @@ -1306,6 +1307,7 @@ mod tests {
}

#[test]
#[allow(non_snake_case)]
fn octal_integer_literals() {
use token::Token::{Literal, Whitespace};
use token::LiteralToken::Integer;
Expand Down
1 change: 0 additions & 1 deletion src/parser/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
extern crate string_interner;
extern crate num_traits;

pub mod name;
pub mod token;
Expand Down

0 comments on commit 5f050f0

Please sign in to comment.