/[bison]/bison/src/output.c
ViewVC logotype

Diff of /bison/src/output.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.205 by akim, Wed Nov 6 08:08:46 2002 UTC revision 1.206 by akim, Wed Nov 6 14:11:47 2002 UTC
# Line 276  user_actions_output (FILE *out) Line 276  user_actions_output (FILE *out)
276        {        {
277          fprintf (out, "  case %d:\n", r + 1);          fprintf (out, "  case %d:\n", r + 1);
278    
279          if (!no_lines_flag)          fprintf (out, "]b4_syncline([[%d]], [[%s]])[\n",
280            fprintf (out, muscle_find ("linef"),                   rules[r].action_location.first_line,
281                     rules[r].action_location.first_line,                   quotearg_style (escape_quoting_style,
282                     quotearg_style (c_quoting_style,                                   rules[r].action_location.file));
                                    rules[r].action_location.file));  
283          fprintf (out, "    %s\n    break;\n\n",          fprintf (out, "    %s\n    break;\n\n",
284                   rules[r].action);                   rules[r].action);
285        }        }
# Line 566  static void Line 565  static void
565  prepare (void)  prepare (void)
566  {  {
567    /* Flags. */    /* Flags. */
568    MUSCLE_INSERT_INT ("locations_flag", locations_flag);    MUSCLE_INSERT_INT ("debug", debug_flag);
569    MUSCLE_INSERT_INT ("defines_flag", defines_flag);    MUSCLE_INSERT_INT ("defines_flag", defines_flag);
570    MUSCLE_INSERT_INT ("error_verbose", error_verbose);    MUSCLE_INSERT_INT ("error_verbose", error_verbose);
571      MUSCLE_INSERT_INT ("locations_flag", locations_flag);
572    MUSCLE_INSERT_INT ("pure", pure_parser);    MUSCLE_INSERT_INT ("pure", pure_parser);
573    MUSCLE_INSERT_INT ("debug", debug_flag);    MUSCLE_INSERT_INT ("synclines_flag", !no_lines_flag);
574    
575    /* FIXME: This is wrong: the muscles should decide whether they hold    /* FIXME: This is wrong: the muscles should decide whether they hold
576       a copy or not, but the situation is too obscure currently.  */       a copy or not, but the situation is too obscure currently.  */

Legend:
Removed from v.1.205  
changed lines
  Added in v.1.206

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26