stage4/generate_c/generate_c.cc
changeset 634 736b36a83548
parent 632 76c3d707ffa1
child 636 dd57e63bdc3d
equal deleted inserted replaced
633:73b56dc69e61 634:736b36a83548
   960       /* Print and __end label for return statements!
   960       /* Print and __end label for return statements!
   961        * If label is not used by at least one goto, compiler will generate a warning.
   961        * If label is not used by at least one goto, compiler will generate a warning.
   962        * To work around this we introduce the useless goto.
   962        * To work around this we introduce the useless goto.
   963        */
   963        */
   964       s4o.print("\n");
   964       s4o.print("\n");
   965       s4o.print(s4o.indent_spaces);
   965       /* to humour the compiler, we insert a goto */
   966       s4o.print("/* to humour the compiler, we insert a goto */\n");
       
   967       s4o.print(s4o.indent_spaces);
   966       s4o.print(s4o.indent_spaces);
   968       s4o.print("goto ");
   967       s4o.print("goto ");
   969       s4o.print(END_LABEL);
   968       s4o.print(END_LABEL);
   970       s4o.print(";\n");
   969       s4o.print(";\n");
   971       s4o.indent_left();
   970       s4o.indent_left();