Rename CaptureBody to Capture, and refactor its methods

This commit is contained in:
Rangi42 authored and Sylvie committed 2024-03-26 12:29:59 -04:00
1 parent a167d23d01
commit 32db0a0f18
3 files changed
+30 -31

No files matched your search

+9 -11
View File
@@ -129,20 +129,18 @@ bool lexer_ReachedELSEBlock();
void lexer_RunIFBlock();
void lexer_ReachELSEBlock();
struct CaptureBody {
uint32_t lineNo;
char const *body;
size_t size;
void startCapture();
void endCapture();
};
void lexer_CheckRecursionDepth();
uint32_t lexer_GetLineNo();
uint32_t lexer_GetColNo();
void lexer_DumpStringExpansions();
CaptureBody lexer_CaptureRept();
CaptureBody lexer_CaptureMacroBody();
struct Capture {
uint32_t lineNo;
char const *body;
size_t size;
};
Capture lexer_CaptureRept();
Capture lexer_CaptureMacro();
#endif // RGBDS_ASM_LEXER_H