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.

1190:    PUTNL();    else    cpp_error(this,"Newline in string."); -  /* FALL_THROUGH */ +  /* FALLTHRU */    default:    string_builder_putchar(nf, INDEX_PCHARP(data,pos));    continue;
2307:    free_string (func_name);    return pos-1;    } -  /* FALL_THROUGH */ +  /* FALLTHRU */    default:    if (wide_isspace(DATA(pos-1))) {    SKIPWHITE();
3039:    } while (DATA(++pos) == c);    continue;    } -  /* FALL_THROUGH */ +  /* FALLTHRU */       case '!': case '@': case '$': case '%': case '^': case '&':    case '*': case '(': case ')': case '-': case '+':
3204:       case ',':    if(d->varargs && arg+1 == d->args) continue; -  /* FALL_THROUGH */ +  /* FALLTHRU */       case ')':    pos--;
3334:    }else{    goto unknown_preprocessor_directive;    } -  /* Fall through */ +     } -  +  /* FALLTHRU */    case '0': case '1': case '2': case '3': case '4':    case '5': case '6': case '7': case '8': case '9':    {
4434:    switch(ch) {    case '\n': case '\r':    ch = ' '; -  /* FALL_THROUGH */ +  /* FALLTHRU */    case ' ': case '\t':    if (in_string) {    string_builder_putchar(tmp, ch);
4451:    break;    }    } -  /* FALL_THROUGH */ +  /* FALLTHRU */    default:    if (in_string) {    string_builder_putchar(tmp, ch);