summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-01-23 19:32:02 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-01-26 16:16:47 +0100
commitc3c50c00302e250c07b1b5b4fa2f00d650084a9f (patch)
treef051595a477d86606b1255c348da88a22ba09234
parente85ab7ac9b93245d60621ad2b282f2861e55cc21 (diff)
downloadbison-c3c50c00302e250c07b1b5b4fa2f00d650084a9f.tar.gz
style: rename print_graph.* as print-graph.*
These are the only files with _. * src/print_graph.h, src/print_graph.c: Rename as... * src/print-graph.h, src/print-graph.c: these.
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/getargs.c4
-rw-r--r--src/local.mk8
-rw-r--r--src/main.c2
-rw-r--r--src/print-graph.c (renamed from src/print_graph.c)2
-rw-r--r--src/print-graph.h (renamed from src/print_graph.h)0
6 files changed, 9 insertions, 9 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 7d7cc7b6..5028e179 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -9,8 +9,8 @@ src/location.c
src/main.c
src/muscle-tab.c
src/parse-gram.y
+src/print-graph.c
src/print.c
-src/print_graph.c
src/reader.c
src/reduce.c
src/scan-code.l
diff --git a/src/getargs.c b/src/getargs.c
index 95572681..4c411583 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -20,7 +20,6 @@
#include <config.h>
#include "system.h"
-#include "output.h"
#include <argmatch.h>
#include <c-strcase.h>
@@ -28,12 +27,13 @@
#include <error.h>
#include <getopt.h>
#include <progname.h>
+#include <quote.h>
#include "complain.h"
#include "files.h"
#include "getargs.h"
#include "muscle-tab.h"
-#include "quote.h"
+#include "output.h"
#include "uniqstr.h"
bool defines_flag = false;
diff --git a/src/local.mk b/src/local.mk
index 7d0862b4..b6161fbb 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -55,10 +55,10 @@ src_bison_SOURCES = \
src/gram.h \
src/graphviz.c \
src/graphviz.h \
- src/lalr.c \
- src/lalr.h \
src/ielr.c \
src/ielr.h \
+ src/lalr.c \
+ src/lalr.h \
src/location.c \
src/location.h \
src/main.c \
@@ -71,12 +71,12 @@ src_bison_SOURCES = \
src/output.c \
src/output.h \
src/parse-gram.y \
+ src/print-graph.c \
+ src/print-graph.h \
src/print-xml.c \
src/print-xml.h \
src/print.c \
src/print.h \
- src/print_graph.c \
- src/print_graph.h \
src/reader.c \
src/reader.h \
src/reduce.c \
diff --git a/src/main.c b/src/main.c
index e96981b5..9ea92366 100644
--- a/src/main.c
+++ b/src/main.c
@@ -44,9 +44,9 @@
#include "muscle-tab.h"
#include "nullable.h"
#include "output.h"
+#include "print-graph.h"
#include "print-xml.h"
#include "print.h"
-#include "print_graph.h"
#include "reader.h"
#include "reduce.h"
#include "scan-code.h"
diff --git a/src/print_graph.c b/src/print-graph.c
index ec032786..81280afc 100644
--- a/src/print_graph.c
+++ b/src/print-graph.c
@@ -30,7 +30,7 @@
#include "gram.h"
#include "graphviz.h"
#include "lalr.h"
-#include "print_graph.h"
+#include "print-graph.h"
#include "reader.h"
#include "state.h"
#include "symtab.h"
diff --git a/src/print_graph.h b/src/print-graph.h
index a3e2b676..a3e2b676 100644
--- a/src/print_graph.h
+++ b/src/print-graph.h