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 |
} |
} |
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. */ |