maint: restore ANSI 89 compliance

* data/bison.m4, src/conflicts.c, src/files.c, src/output.c,
* src/symtab.c: Use /* ... */ comments only.
Declare variables before statements.
This commit is contained in:
Akim Demaille
2012-12-28 11:04:37 +01:00
parent fd7f0289bc
commit c5ae8e85aa
5 changed files with 39 additions and 27 deletions

View File

@@ -569,7 +569,7 @@ conflicts_print (void)
different strings to translate. */
{
int total = count_sr_conflicts ();
// If %expect is not used, but %expect-rr is, then expect 0 sr.
/* If %expect is not used, but %expect-rr is, then expect 0 sr. */
int expected =
(expected_sr_conflicts == -1 && expected_rr_conflicts != -1)
? 0
@@ -591,7 +591,7 @@ conflicts_print (void)
{
int total = count_rr_conflicts (true);
// If %expect-rr is not used, but %expect is, then expect 0 rr.
/* If %expect-rr is not used, but %expect is, then expect 0 rr. */
int expected =
(expected_rr_conflicts == -1 && expected_sr_conflicts != -1)
? 0