bug#73984: Compiler/interpreter doesn't handle the macro defined after it's used

2024-10-24 Thread Thompson, David
Hi Artyom, On Thu, Oct 24, 2024 at 8:47 AM Artyom Bologov wrote: > > Hello y'all, > > So I'm working on a project with a moderate amount of macros and some > tangled code paths. Which often means I have non-linear and > hard-to-figure-out inter-dependencies between pieces of code. One of > them b

bug#73984: Compiler/interpreter doesn't handle the macro defined after it's used

2024-10-24 Thread Artyom Bologov
Hello y'all, So I'm working on a project with a moderate amount of macros and some tangled code paths. Which often means I have non-linear and hard-to-figure-out inter-dependencies between pieces of code. One of them bit me today: a macro that was defined after a procedure it was used in, resulted

bug#73984: Compiler/interpreter doesn't handle the macro defined after it's used

2024-10-24 Thread Artyom Bologov
Hi David, > I don't think this is a bug. In my experience, macro definitions must > precede uses. This is a sane answer too! Thanks, -- Artyom Bologov https://aartaka.me