From 5b1f387d451b3ff136464dcbc71f0c2310a57d01 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 17 Jul 2024 16:06:34 +0200 Subject: Add basic support for macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Macros can now be described with the '.macro' control statement, but no parameters can be given and it's overall pretty brittle. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xixanta/src/context.rs') diff --git a/lib/xixanta/src/context.rs b/lib/xixanta/src/context.rs index a4ffc5b..32f9de9 100644 --- a/lib/xixanta/src/context.rs +++ b/lib/xixanta/src/context.rs @@ -30,7 +30,7 @@ impl Context { } } - pub fn reset(&mut self) { + pub fn global(&mut self) { self.stack = vec![]; } -- cgit v1.2.3