Rename CaptureBody to Capture, and refactor its methods

This commit is contained in:
Rangi42
2024-03-26 12:15:09 -04:00
committed by Sylvie
parent a167d23d01
commit 32db0a0f18
3 changed files with 30 additions and 31 deletions

View File

@@ -245,8 +245,8 @@
%token SECT_WRAM0 "WRAM0" SECT_WRAMX "WRAMX" SECT_HRAM "HRAM"
%token SECT_VRAM "VRAM" SECT_SRAM "SRAM" SECT_OAM "OAM"
%type <CaptureBody> capture_rept
%type <CaptureBody> capture_macro
%type <Capture> capture_rept
%type <Capture> capture_macro
%type <SectionModifier> sect_mod
%type <std::shared_ptr<MacroArgs>> macro_args
@@ -926,7 +926,7 @@ def_macro:
capture_macro:
%empty {
$$ = lexer_CaptureMacroBody();
$$ = lexer_CaptureMacro();
}
;