diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-05-08 12:15:55 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-05-08 12:35:06 +0200 |
commit | dbd160931185c25d7f9a3e9c0b5ef64e4deb394f (patch) | |
tree | c8e124b754a728396ae2693ed812f9adbf09e9ff /etc/bench.pl.in | |
parent | ad9500f3fdd69d5e8f9d6ca259e01568486cfdf9 (diff) | |
download | bison-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/bench.pl.in')
-rwxr-xr-x | etc/bench.pl.in | 2 |
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[]) |