This commit is contained in:
Alain Zscheile 2023-12-23 22:29:22 +01:00
parent c38236847d
commit db0de9b698
3 changed files with 4 additions and 12 deletions

6
Cargo.lock generated
View file

@ -16,9 +16,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]] [[package]]
name = "bitflags" name = "bitflags"
version = "2.3.1" version = "2.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6776fc96284a0bb647b615056fc496d1fe1644a7ab01829818a6d91cae888b84" checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07"
[[package]] [[package]]
name = "cfg-if" name = "cfg-if"
@ -155,7 +155,7 @@ checksum = "e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4"
name = "wafl-parser" name = "wafl-parser"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bitflags 2.3.1", "bitflags 2.4.1",
"peeking_take_while", "peeking_take_while",
"string_cache", "string_cache",
"unicode-ident", "unicode-ident",

View file

@ -5,7 +5,7 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
bitflags = "2.3" bitflags = "2.4"
peeking_take_while = "1.0" peeking_take_while = "1.0"
string_cache = "0.8" string_cache = "0.8"
unicode-ident = "1.0" unicode-ident = "1.0"

View file

@ -53,14 +53,6 @@ pub enum Expression {
}, },
} }
// a match is the destructuring stmt for tags
#[derive(Clone, Debug)]
pub struct Match {
pub loc: Location,
pub module: Expression,
pub key: Expression,
}
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub struct FullIdentifier { pub struct FullIdentifier {
pub loc: Location, pub loc: Location,