Skip to content

Commit

Permalink
Upgrade Pest to 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed May 10, 2019
1 parent 41f3014 commit 9449701
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ description = "The Riptide language parser"
edition = "2018"

[dependencies]
pest = "2.0"
pest_derive = "2.0"
pest = "2.1"
pest_derive = "2.1"

[dependencies.serde]
version = "1.0"
Expand Down
3 changes: 1 addition & 2 deletions syntax/src/parser.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
use crate::ast::*;
use pest::iterators::Pair;
use pest_derive::Parser;

#[derive(Parser)]
#[derive(pest_derive::Parser)]
#[grammar = "grammar.pest"]
pub struct Grammar;

Expand Down

0 comments on commit 9449701

Please sign in to comment.