# HG changeset patch # User lost # Date 1267756456 0 # Node ID 401587ab6a096412e2e3a0e56da15b9e583e781a # Parent 9f58e3bca6e3db0b0ec7b86597359d22a8adadc1 checkpoint diff -r 9f58e3bca6e3 -r 401587ab6a09 lwlib/lw_expr.c --- a/lwlib/lw_expr.c Thu Mar 04 05:13:22 2010 +0000 +++ b/lwlib/lw_expr.c Fri Mar 05 02:34:16 2010 +0000 @@ -347,6 +347,11 @@ } } +void lw_expr_sortoperandlist(struct lw_expr_opers **o) +{ + fprintf(stderr, "lw_expr_sortoperandlist() not yet implemented\n"); +} + // return 1 if the operand lists match, 0 if not // may re-order the argument lists int lw_expr_simplify_compareoperandlist(struct lw_expr_opers **ol1, struct lw_expr_opers **ol2) @@ -421,7 +426,7 @@ if (op2 -> p -> type != lw_expr_type_int) break; - if (lw_expr_compareoperandlist(&op1, &op2)) + if (lw_expr_simplify_compareoperandlist(&op1, &op2)) { // we have like terms here // do something about it