diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-07-17 16:06:34 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-12 07:40:53 +0100 |
| commit | 5b1f387d451b3ff136464dcbc71f0c2310a57d01 (patch) | |
| tree | 5131731d044823d66c5938cf4870f09f7ed19fec /lib/xixanta/src/context.rs | |
| parent | 376dcb684ce779a7051bbc9a95359114e94cae5e (diff) | |
| download | tools.nes-5b1f387d451b3ff136464dcbc71f0c2310a57d01.tar.gz tools.nes-5b1f387d451b3ff136464dcbc71f0c2310a57d01.zip | |
Add basic support for macros
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à <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src/context.rs')
| -rw-r--r-- | lib/xixanta/src/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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![]; } |
