ref: d466cab1e8aca877e9fd89433f19cec78f894a99
parent: 4e8b34f42edef9a3ad5de95f3cb79132dad04c46
author: ISSOtm <eldredhabert0@gmail.com>
date: Mon Jan 20 19:25:18 EST 2020
Init RPN expressions created by binary operators
--- a/src/asm/rpn.c
+++ b/src/asm/rpn.c
@@ -333,6 +333,8 @@
/* First, check if the expression is known */
expr->isKnown = src1->isKnown && src2->isKnown;
if (expr->isKnown) {
+ rpn_Init(expr); /* Init the expression to something sane */
+
/* If both expressions are known, just compute the value */
uint32_t uleft = src1->nVal, uright = src2->nVal;