From a2db8e9f6d83d40170a7aea337f4ff80a5a2a22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20H=C3=B6lting?= <87192362+moritz-hoelting@users.noreply.github.com> Date: Sat, 24 Aug 2024 00:49:55 +0200 Subject: [PATCH] upgrade to shulkerscript version with fixed syntax error message --- src/wasm/webcompiler/Cargo.toml | 2 +- src/wasm/webcompiler/src/util.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wasm/webcompiler/Cargo.toml b/src/wasm/webcompiler/Cargo.toml index f46619f..4a82af2 100644 --- a/src/wasm/webcompiler/Cargo.toml +++ b/src/wasm/webcompiler/Cargo.toml @@ -13,7 +13,7 @@ opt-level = "s" [dependencies] wasm-bindgen = "0.2.92" -shulkerscript = { git = "https://github.com/moritz-hoelting/shulkerscript-lang.git", default-features = false, features = ["serde", "shulkerbox"], rev = "8953b347c562615fef3a8d500b0bb86f7f717a08" } +shulkerscript = { git = "https://github.com/moritz-hoelting/shulkerscript-lang.git", default-features = false, features = ["serde", "shulkerbox"], rev = "4505def6c0bc43f9e67274a305453a6ac7ca517f" } serde = "1.0" serde-wasm-bindgen = "0.6.5" anyhow = "1.0.86" diff --git a/src/wasm/webcompiler/src/util.rs b/src/wasm/webcompiler/src/util.rs index 2095c49..499c901 100644 --- a/src/wasm/webcompiler/src/util.rs +++ b/src/wasm/webcompiler/src/util.rs @@ -32,7 +32,7 @@ fn parse(printer: &Printer, file_provider: &impl FileProvider, path: &Path) -> R let mut parser = Parser::new(&tokens); let program = parser.parse_program(printer).ok_or(Error::Other( - "An error occured while parsing the source code.", + "An error occurred while parsing the source code.", ))?; if printer.has_printed() {