mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-07 12:45:34 +00:00
Rename CaptureBody to Capture, and refactor its methods
This commit is contained in:
1 parent
a167d23d01
commit
32db0a0f18
3 files changed
+30
-31
No files matched your search
+9
-11
@@ -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