d, java: use traces more alike that of C

Same order, same places, same content.

* data/skeletons/lalr1.d, data/skeletons/lalr1.java: here.
This commit is contained in:
Akim Demaille
2020-01-14 07:27:41 +01:00
parent 187c2ac344
commit c894a6e2ce
2 changed files with 26 additions and 11 deletions

View File

@@ -996,7 +996,7 @@ b4_dollar_popdef[]dnl
int yynrhs = yyr2_[yyrule];
/* Print the symbols being reduced, and their result. */
yycdebug ("Reducing stack by rule " + (yyrule - 1)
+ " (line " + yylno + "), ");
+ " (line " + yylno + "):");
/* The symbols being reduced. */
for (int yyi = 0; yyi < yynrhs; yyi++)