Mercurial > hg > index.cgi
diff lwlib/lw_expr.h @ 339:6138e304ab9a
Revert 3b5a45c6ab92
The speedup fix in 3b5a45c6ab92 contains some sort of bug related to operand
manipulation during expression simplification or copying. This leads to
crashes that so have have eluded tracing. Revert back to known working
version of the code, even though slower, to avoid regressions.
author | William Astle <lost@l-w.ca> |
---|---|
date | Fri, 08 Aug 2014 12:14:22 -0600 |
parents | 3b5a45c6ab92 |
children | 4130ffdeb5c8 |
line wrap: on
line diff
--- a/lwlib/lw_expr.h Tue Aug 05 22:04:23 2014 -0600 +++ b/lwlib/lw_expr.h Fri Aug 08 12:14:22 2014 -0600 @@ -58,7 +58,6 @@ { lw_expr_t p; struct lw_expr_opers *next; - struct lw_expr_opers *prev; }; struct lw_expr_priv @@ -67,7 +66,6 @@ int value; // integer value void *value2; // misc pointer value struct lw_expr_opers *operands; // ptr to list of operands (for operators) - struct lw_expr_opers *operand_tail; // ptr to last operand }; typedef lw_expr_t lw_expr_fn_t(int t, void *ptr, void *priv);