Re-export shulkerbox module and update error message in transpiler
This commit is contained in:
parent
3c3c9e5b24
commit
c770a54517
|
@ -12,6 +12,8 @@
|
|||
#![warn(missing_docs, clippy::all, clippy::pedantic)]
|
||||
#![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)]
|
||||
|
||||
pub use shulkerbox;
|
||||
|
||||
pub mod base;
|
||||
pub mod lexical;
|
||||
pub mod syntax;
|
||||
|
|
|
@ -52,7 +52,7 @@ impl Transpiler {
|
|||
/// Transpiles the given program.
|
||||
///
|
||||
/// # Errors
|
||||
/// - [`TranspileError::MissingMainFunction`] If the main function is missing.
|
||||
/// - [`TranspileError::MissingFunctionDeclaration`] If a called function is missing
|
||||
pub fn transpile(
|
||||
&mut self,
|
||||
program: &Program,
|
||||
|
|
Loading…
Reference in New Issue