• Dridi Boukelmoune's avatar
    vcc: Avoid direct usage of the token list · eabe58bc
    Dridi Boukelmoune authored
    This migrates the remaining candidates for vcc_Peek*() functions using a
    coccinelle semantic patch. When vcc_PeekToken*() is used in an assignment
    statement it's straightforward to patch. In an expression a careful
    review is needed, that's why the generated code is meant not to compile
    on purpose. That's how the pattern for vcc_PrintTokens() was noticed.
    eabe58bc
vcc_peek.cocci 443 Bytes