Commit 743b71bf authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa

Add termination NULL to the OPER_NEG operation.

1999-01-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
	operation.
parent 19500e12
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (eval_expr): Add support for non-local cells here. I
am impressed how simple this was.
* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
operation.
* (eval_expr): Add support for non-local cells here. I am
impressed how simple this was.
* src/parser.y: Add rules for cell references outside of the
current sheet.
......
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (eval_expr): Add support for non-local cells here. I
am impressed how simple this was.
* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
operation.
* (eval_expr): Add support for non-local cells here. I am
impressed how simple this was.
* src/parser.y: Add rules for cell references outside of the
current sheet.
......
......@@ -32,6 +32,12 @@ that are almost self documenting.
code honest as you will be forced to split your routines in more
modular chunks (as detailed by Linus).
Emacs users can get the default indentation style with this:
(set-c-style "K&R")
(setq c-basic-offset 8)
Do not put a space between a closing parent and an opening bracket.
On top of that, you will have to:
- Follow the Gtk+ cleanliness conventions for function
......
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (eval_expr): Add support for non-local cells here. I
am impressed how simple this was.
* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
operation.
* (eval_expr): Add support for non-local cells here. I am
impressed how simple this was.
* src/parser.y: Add rules for cell references outside of the
current sheet.
......
1999-01-03 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (eval_expr): Add support for non-local cells here. I
am impressed how simple this was.
* src/expr.c (do_expr_decode_tree): Add termination NULL to the OPER_NEG
operation.
* (eval_expr): Add support for non-local cells here. I am
impressed how simple this was.
* src/parser.y: Add rules for cell references outside of the
current sheet.
......
......@@ -1033,7 +1033,7 @@ do_expr_decode_tree (ExprTree *tree, void *sheet, int col, int row, Operation pa
char *res, *a;
a = do_expr_decode_tree (tree->u.value, sheet, col, row, tree->oper);
res = g_strconcat ("-", a);
res = g_strconcat ("-", a, NULL);
g_free (a);
return res;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment