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.

1213:    }    }    } -  /* FALL_THROUGH */ +  /* FALLTHRU */    default:    SIMPLE_ARG_TYPE_ERROR("search", 1, "string|array|mapping|object");    }
1545:       /Noring */    -  /* FALL_THROUGH */ +  /* FALLTHRU */       case T_MULTISET:    /* FIXME: This behavior for multisets isn't clean. It should be
1554:    f_values(1);    stack_swap();    -  /* FALL_THROUGH */ +  /* FALLTHRU */       case T_STRING: /* Strings are odd. /Noring */    case T_ARRAY:
5233:    push_int(1);    return;    } -  /* FALL_THROUGH */ +  /* FALLTHRU */       default:    pop_n_elems(args);
6137:       case '\\':    if (++i==ml) return 0; -  /* falthrough */ +  /* FALLTHRU */       default:    if(j>=sl || m[i] != s[j] )
6184:       case '\\':    if (++i==ml) return 0; -  /* falthrough */ +  /* FALLTHRU */       default:    if(j>=sl || m[i] != s[j] )
6224:       case '\\':    if (++i==m->len) return 0; -  /* falthrough */ +  /* FALLTHRU */    default:    if(j>=s->len ||    index_shared_string(m,i)!=index_shared_string(s,j)) return 0;