Branch: Tag:

2018-02-12

2018-02-12 21:49:35 by Marcus Comstedt <marcus@mc.pp.se>

Fix spelling of FALLTHRU directive

The non-standard spelling "FALL_THROUGH" is not recognized by gcc 7.3.
Also, the comment must not contain any other text, or be placed inside
braces.

121:    break;    }    -  /* FALL_THROUGH */ +  /* FALLTHRU */       default:    index_error:
927:    return !s->u.integer;    case PIKE_T_FUNCTION:    if (SUBTYPEOF(*s) == FUNCTION_BUILTIN) return 0; -  /* FALL_THROUGH */ +  /* FALLTHRU */    case PIKE_T_OBJECT:    return !s->u.object->prog;    }
3114:    pop_stack();    push_type_value(pop_unfinished_type());    } -  /* FALL_THROUGH */ +  /* FALLTHRU */    case T_TYPE:    {    /* a ^ b == (a&~b)|(~a&b) */
3259:    break;    convert_stack_top_to_bignum();    -  /* FALL_THROUGH */ +  /* FALLTHRU */       case T_OBJECT:    call_lfun:
3647:    stack_swap();    convert_stack_top_to_bignum();    stack_swap(); -  /* fallthrough again (this is the slow path).. */ +  /* FALLTHRU *//* again (this is the slow path).. */       case TWO_TYPES(T_OBJECT,T_INT):    case TWO_TYPES(T_OBJECT,T_FLOAT):