upgrade to shulkerscript version with fixed syntax error message
This commit is contained in:
parent
82ea32a7a9
commit
a2db8e9f6d
|
@ -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"
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue