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)]
|
#![warn(missing_docs, clippy::all, clippy::pedantic)]
|
||||||
#![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)]
|
#![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)]
|
||||||
|
|
||||||
|
pub use shulkerbox;
|
||||||
|
|
||||||
pub mod base;
|
pub mod base;
|
||||||
pub mod lexical;
|
pub mod lexical;
|
||||||
pub mod syntax;
|
pub mod syntax;
|
||||||
|
|
|
@ -52,7 +52,7 @@ impl Transpiler {
|
||||||
/// Transpiles the given program.
|
/// Transpiles the given program.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
/// - [`TranspileError::MissingMainFunction`] If the main function is missing.
|
/// - [`TranspileError::MissingFunctionDeclaration`] If a called function is missing
|
||||||
pub fn transpile(
|
pub fn transpile(
|
||||||
&mut self,
|
&mut self,
|
||||||
program: &Program,
|
program: &Program,
|
||||||
|
|
Loading…
Reference in New Issue