This is a sign to go learn more about procedural macros, will be back in a week.
All checks were successful
/ Test-Suite (push) Successful in 19s
All checks were successful
/ Test-Suite (push) Successful in 19s
This commit is contained in:
parent
7e8b6750b9
commit
a3d0e1a886
@ -7,6 +7,11 @@ use crate::push::state::PushState;
|
|||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
pub mod macros {
|
pub mod macros {
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! type_map {
|
||||||
|
($x:ident) => {};
|
||||||
|
}
|
||||||
|
|
||||||
/// A macro that makes a push instruction given: the name of the input stack to use,
|
/// A macro that makes a push instruction given: the name of the input stack to use,
|
||||||
/// the name of the output stack, an internal function to call, the type of a function,
|
/// the name of the output stack, an internal function to call, the type of a function,
|
||||||
/// and the arity of the internal function call.
|
/// and the arity of the internal function call.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user