From: Akim Demaille Date: Tue, 16 Jan 2007 12:27:19 +0000 (+0000) Subject: * data/lalr1.cc (yy_reduce_print_): Add a missing end-of-line. X-Git-Tag: v2.3b~180 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/7cff04b572e7d71c2801671e21541d321862d339?ds=sidebyside * data/lalr1.cc (yy_reduce_print_): Add a missing end-of-line. --- diff --git a/ChangeLog b/ChangeLog index 9fe8bddb..8e8b5511 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-01-16 Akim Demaille + + * data/lalr1.cc (yy_reduce_print_): Add a missing end-of-line. + 2007-01-15 Paolo Bonzini and Joel E. Denny diff --git a/data/lalr1.cc b/data/lalr1.cc index 95ae986a..5e0be216 100644 --- a/data/lalr1.cc +++ b/data/lalr1.cc @@ -1,6 +1,6 @@ # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1012,7 +1012,7 @@ b4_error_verbose_if([, int tok])[) int yynrhs = yyr2_[yyrule]; /* Print the symbols being reduced, and their result. */ *yycdebug_ << "Reducing stack by rule " << yyrule - 1 - << " (line " << yylno << "), "; + << " (line " << yylno << "):" << std::endl; /* The symbols being reduced. */ for (int yyi = 0; yyi < yynrhs; yyi++) YY_SYMBOL_PRINT (" $" << yyi + 1 << " =",