scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 6bd855db77a9449f75562fd3fe5775143e498a2f
parent 7c1a9ff12e2649a9e47af25f8a958bb41c10ff81
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 20 Apr 2014 23:23:47 +0200

Use better names in init_expr()

Diffstat:
expr.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/expr.c b/expr.c @@ -13,13 +13,13 @@ Node *expr(void); void init_expr(void) { - static Symbol zdummy, odummy; + static Symbol dummy0, dummy1; - zdummy.type = odummy.type = inttype; - zdummy.u.i = 0; - odummy.u.i = 1; - zero = &zdummy; - one = &odummy; + dummy0.type = dummy1.type = inttype; + dummy0.u.i = 0; + dummy1.u.i = 1; + zero = &dummy0; + one = &dummy1; } static Node *