Skip to content

Commit

Permalink
[wgsl-in] overhaul number lexing / parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed May 2, 2022
1 parent 9c8a518 commit d725977
Show file tree
Hide file tree
Showing 5 changed files with 540 additions and 666 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ serialize = ["serde", "indexmap/serde-1"]
deserialize = ["serde", "indexmap/serde-1"]
spv-in = ["petgraph", "spirv"]
spv-out = ["spirv"]
wgsl-in = ["codespan-reporting", "hexf-parse", "unicode-xid"]
wgsl-in = ["codespan-reporting", "hexf-parse", "unicode-xid", "regex"]
wgsl-out = []
hlsl-out = []
span = ["codespan-reporting"]
Expand Down Expand Up @@ -62,6 +62,7 @@ petgraph = { version ="0.6", optional = true }
pp-rs = { version = "0.2.1", optional = true }
hexf-parse = { version = "0.2.1", optional = true }
unicode-xid = { version = "0.2.3", optional = true }
regex = { version = "1", optional = true, default-features = false, features = ["std", "perf"] }

[dev-dependencies]
bincode = "1"
Expand Down
Loading

0 comments on commit d725977

Please sign in to comment.