summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-05-08 12:15:55 +0200
committerAkim Demaille <akim.demaille@gmail.com>2018-05-08 12:35:06 +0200
commitdbd160931185c25d7f9a3e9c0b5ef64e4deb394f (patch)
treec8e124b754a728396ae2693ed812f9adbf09e9ff /etc
parentad9500f3fdd69d5e8f9d6ca259e01568486cfdf9 (diff)
downloadbison-dbd160931185c25d7f9a3e9c0b5ef64e4deb394f.tar.gz
style: don't use std::endl
* data/lalr1.cc, doc/bison.texi, etc/bench.pl.in, examples/variant.yy, * tests/actions.at, tests/atlocal.in, tests/c++.at, tests/headers.at, * tests/local.at, tests/types.at: Don't use std::endl, it flushes uselessly, and is considered bad style.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bench.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bench.pl.in b/etc/bench.pl.in
index cbd9473d..39b8d042 100755
--- a/etc/bench.pl.in
+++ b/etc/bench.pl.in
@@ -738,7 +738,7 @@ yy::parser::token_type yylex(yy::parser::semantic_type* yylvalp,
void
yy::parser::error(const yy::parser::location_type& loc, const std::string& msg)
{
- std::cerr << loc << ": " << msg << std::endl;
+ std::cerr << loc << ": " << msg << '\n';
}
int main(int argc, char *argv[])