mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Rename CaptureBody to Capture, and refactor its methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user