Skip to content
Snippets Groups Projects
  1. Mar 07, 2019
    • Virgile Prevosto's avatar
      [printer] ensures labels are not put on declarations · 47914d50
      Virgile Prevosto authored
      Fixes #617
      
      Technically, the C standard distinguishes between declarations and statements,
      and only the latter may have labels attached to them. Thus, printing a label
      directly over a `Local_init` will result in ill-formed C code. In order to
      avoid that, we add a dummy nop (aka `;`) in-between.
      
      A first version was done in !1518, but failed to take into account
      `UnspecifiedSequence` whose first element happens to be a `Local_init` :sob:
      47914d50
  2. Mar 05, 2019
  3. Mar 04, 2019
  4. Mar 01, 2019
  5. Feb 26, 2019
  6. Feb 25, 2019
Loading