Mercurial > hg > qcc
changeset 480:995cf196fe69
Minor cleanup removing a goto and untangling weird if() logic.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 20 Sep 2007 02:52:04 -0500 |
parents | 7909d3c7e712 |
children | 0f5c38ddf450 |
files | tcc.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/tcc.c Sat Sep 08 17:30:03 2007 -0500 +++ b/tcc.c Thu Sep 20 02:52:04 2007 -0500 @@ -8095,11 +8095,7 @@ } if (v) { - if (scope == VT_CONST) { - if (!sym) - goto do_def; - } else { - do_def: + if (scope != VT_CONST || !sym) { sym = sym_push(v, type, r | VT_SYM, 0); } /* update symbol definition */