Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 forgot to commit those.



details:   https://anonhg.NetBSD.org/src/rev/6732a83daeb4
branches:  trunk
changeset: 538582:6732a83daeb4
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 23 00:36:36 2002 +0000

description:
forgot to commit those.

diffstat:

 usr.bin/xlint/lint1/func.c |  20 ++++++++++----------
 usr.bin/xlint/lint1/init.c |   8 ++++----
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (126 lines):

diff -r d14e87855176 -r 6732a83daeb4 usr.bin/xlint/lint1/func.c
--- a/usr.bin/xlint/lint1/func.c        Wed Oct 23 00:13:14 2002 +0000
+++ b/usr.bin/xlint/lint1/func.c        Wed Oct 23 00:36:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: func.c,v 1.19 2002/10/22 13:48:50 christos Exp $       */
+/*     $NetBSD: func.c,v 1.20 2002/10/23 00:36:36 christos Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: func.c,v 1.19 2002/10/22 13:48:50 christos Exp $");
+__RCSID("$NetBSD: func.c,v 1.20 2002/10/23 00:36:36 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -530,7 +530,7 @@
                tn = cconv(tn);
        if (tn != NULL)
                tn = promote(NOOP, 0, tn);
-       expr(tn, 0, 1);
+       expr(tn, 0, 1, 1);
        pushctrl(T_IF);
 }
 
@@ -603,7 +603,7 @@
                tp->t_tspec = INT;
        }
 
-       expr(tn, 1, 0);
+       expr(tn, 1, 0, 1);
 
        pushctrl(T_SWITCH);
        cstk->c_switch = 1;
@@ -701,7 +701,7 @@
                }
        }
 
-       expr(tn, 0, 1);
+       expr(tn, 0, 1, 1);
 }
 
 /*
@@ -772,7 +772,7 @@
                }
        }
 
-       expr(tn, 0, 1);
+       expr(tn, 0, 1, 1);
 
        /*
         * The end of the loop is only reached if it is no endless loop
@@ -815,7 +815,7 @@
        STRUCT_ASSIGN(cstk->c_cfpos, csrc_pos);
 
        if (tn1 != NULL)
-               expr(tn1, 0, 0);
+               expr(tn1, 0, 0, 1);
 
        if (tn2 != NULL)
                tn2 = cconv(tn2);
@@ -827,7 +827,7 @@
                tn2 = NULL;
        }
        if (tn2 != NULL)
-               expr(tn2, 0, 1);
+               expr(tn2, 0, 1, 1);
 
        if (tn2 == NULL) {
                cstk->c_infinite = 1;
@@ -874,7 +874,7 @@
        }
 
        if (tn3 != NULL) {
-               expr(tn3, 0, 0);
+               expr(tn3, 0, 0, 1);
        } else {
                tfreeblk();
        }
@@ -1011,7 +1011,7 @@
                        }
                }
 
-               expr(tn, 1, 0);
+               expr(tn, 1, 0, 1);
 
        } else {
 
diff -r d14e87855176 -r 6732a83daeb4 usr.bin/xlint/lint1/init.c
--- a/usr.bin/xlint/lint1/init.c        Wed Oct 23 00:13:14 2002 +0000
+++ b/usr.bin/xlint/lint1/init.c        Wed Oct 23 00:36:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.14 2002/10/22 21:09:34 christos Exp $       */
+/*     $NetBSD: init.c,v 1.15 2002/10/23 00:36:36 christos Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: init.c,v 1.14 2002/10/22 21:09:34 christos Exp $");
+__RCSID("$NetBSD: init.c,v 1.15 2002/10/23 00:36:36 christos Exp $");
 #endif
 
 #include <stdlib.h>
@@ -490,7 +490,7 @@
                ln->tn_type = tduptyp(ln->tn_type);
                ln->tn_type->t_const = 0;
                tn = build(ASSIGN, ln, tn);
-               expr(tn, 0, 0);
+               expr(tn, 0, 0, 1);
                goto end;
        }
 
@@ -534,7 +534,7 @@
         * expr() would free it.
         */
        tmem = tsave();
-       expr(tn, 1, 0);
+       expr(tn, 1, 0, 1);
        trestor(tmem);
 
        if (isityp(lt) && ln->tn_type->t_isfield && !isityp(rt)) {



Home | Main Index | Thread Index | Old Index