summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2021-02-01 07:54:03 +0100
committerAkim Demaille <akim.demaille@gmail.com>2021-02-02 06:51:39 +0100
commitd50a3e450e7e469cee7b6a782b6877ef9e47d7b6 (patch)
tree223f121e8a7f7ef20dd37e2831cf3a90b4a96720 /src
parent47186ec4601da80274af6013e7d0a61567e8f06b (diff)
downloadbison-d50a3e450e7e469cee7b6a782b6877ef9e47d7b6.tar.gz
graph: output foo.gv by default, instead of *.dot
That change was started in Bison 3.4. The announcement for 3.7 stated that in Bison 3.8 we would use *.gv by default. * src/files.c (compute_output_file_names): spec_graph_file defaults too *.gv. * doc/bison.texi, examples/c++/calc++/local.mk, tests/output.at: Adjust.
Diffstat (limited to 'src')
-rw-r--r--src/files.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/files.c b/src/files.c
index e6af804e..c0d5d1ca 100644
--- a/src/files.c
+++ b/src/files.c
@@ -421,8 +421,7 @@ compute_output_file_names (void)
if (graph_flag)
{
if (! spec_graph_file)
- spec_graph_file = concat2 (all_but_tab_ext,
- 304 <= required_version ? ".gv" : ".dot");
+ spec_graph_file = concat2 (all_but_tab_ext, ".gv");
output_file_name_check (&spec_graph_file, false);
}