Changeset 32731 in project


Ignore:
Timestamp:
08/21/15 21:21:55 (5 years ago)
Author:
sjamaan
Message:

numbers: Fix somewhat unclear if/else structuring. C_values now expands into a complex do..while structure which clang (rightly so) does not like following a braceless if

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/numbers/trunk/numbers-c.c

    r32728 r32731  
    27312731  CPS_BODY3(c, self, k, x, start, end);
    27322732  if (x & C_FIXNUM_BIT) { /* Needed? */
    2733     if (C_unfix(start) == 0 && (end == C_SCHEME_FALSE || C_unfix(end) > 0))
     2733    if (C_unfix(start) == 0 && (end == C_SCHEME_FALSE || C_unfix(end) > 0)) {
    27342734      C_kontinue(k, x);
    2735     else
     2735    } else {
    27362736      C_kontinue(k, C_fix(0));
     2737    }
    27372738  } else {
    27382739    C_word negp, size;
Note: See TracChangeset for help on using the changeset viewer.