From a3d0e1a88626254c42eb0122443264058a40032a Mon Sep 17 00:00:00 2001 From: Rowan Torbitzky-Lane Date: Mon, 14 Apr 2025 00:46:43 -0500 Subject: [PATCH] This is a sign to go learn more about procedural macros, will be back in a week. --- src/instructions/mod.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/instructions/mod.rs b/src/instructions/mod.rs index 342296c..6b88ddd 100644 --- a/src/instructions/mod.rs +++ b/src/instructions/mod.rs @@ -7,6 +7,11 @@ use crate::push::state::PushState; #[macro_use] 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, /// the name of the output stack, an internal function to call, the type of a function, /// and the arity of the internal function call.