there is one less line per action.
+2001-12-16 Marc Autret <autret_m@epita.fr>
+
+ * src/output.c (actions_output): Fix. When we use %no-lines,
+ there is one less line per action.
+
2001-12-16 Marc Autret <autret_m@epita.fr>
* src/bison.simple: Remove a useless #line directive.
rule_table[rule].action,
yacc_flag ? ";" : "");
- /* We always output 5 '\n' per action. */
- *line += 5;
+ /* We always output 4 '\n' per action. */
+ *line += 4;
+ /* Plus one if !no_lines_flag. */
+ if (!no_lines_flag)
+ ++*line;
/* Get the number of lines written by the user. */
*line += get_lines_number (rule_table[rule].action);
}