mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Implement . string constant for the current label scope (#1499)
This commit is contained in:
@@ -36,10 +36,11 @@ struct Symbol {
|
||||
uint32_t fileLine; // Line where the symbol was defined
|
||||
|
||||
std::variant<
|
||||
int32_t, // If isNumeric()
|
||||
int32_t (*)(), // If isNumeric() and has a callback
|
||||
ContentSpan, // For SYM_MACRO
|
||||
std::shared_ptr<std::string> // For SYM_EQUS
|
||||
int32_t, // If isNumeric()
|
||||
int32_t (*)(), // If isNumeric() via a callback
|
||||
ContentSpan, // For SYM_MACRO
|
||||
std::shared_ptr<std::string>, // For SYM_EQUS
|
||||
std::shared_ptr<std::string> (*)() // For SYM_EQUS via a callback
|
||||
>
|
||||
data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user