mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Axe the constexpr expression evaluator
This avoids redundancy between them (and also having to port fixes and features) The error messages have been preserved through a string reporting mechanism
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
struct Expression {
|
||||
bool isKnown; // Whether the expression's value is known
|
||||
int32_t nVal; // If the expression's value is known, it's here
|
||||
char *reason; // Why the expression is not known, if it isn't
|
||||
uint8_t *tRPN; // Array of bytes serializing the RPN expression
|
||||
uint32_t nRPNCapacity; // Size of the `tRPN` buffer
|
||||
uint32_t nRPNLength; // Used size of the `tRPN` buffer
|
||||
|
||||
Reference in New Issue
Block a user