upgrade to shulkerscript version with fixed syntax error message

This commit is contained in:
Moritz Hölting 2024-08-24 00:49:55 +02:00
parent 82ea32a7a9
commit a2db8e9f6d
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ opt-level = "s"
[dependencies] [dependencies]
wasm-bindgen = "0.2.92" 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 = "1.0"
serde-wasm-bindgen = "0.6.5" serde-wasm-bindgen = "0.6.5"
anyhow = "1.0.86" anyhow = "1.0.86"

View File

@ -32,7 +32,7 @@ fn parse(printer: &Printer, file_provider: &impl FileProvider, path: &Path) -> R
let mut parser = Parser::new(&tokens); let mut parser = Parser::new(&tokens);
let program = parser.parse_program(printer).ok_or(Error::Other( 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() { if printer.has_printed() {