From c3c50c00302e250c07b1b5b4fa2f00d650084a9f Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Wed, 23 Jan 2019 19:32:02 +0100 Subject: [PATCH] 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. --- po/POTFILES.in | 2 +- src/getargs.c | 4 ++-- src/local.mk | 8 ++++---- src/main.c | 2 +- src/{print_graph.c => print-graph.c} | 2 +- src/{print_graph.h => print-graph.h} | 0 6 files changed, 9 insertions(+), 9 deletions(-) rename src/{print_graph.c => print-graph.c} (99%) rename src/{print_graph.h => print-graph.h} (100%) 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 #include "system.h" -#include "output.h" #include #include @@ -28,12 +27,13 @@ #include #include #include +#include #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 similarity index 99% rename from src/print_graph.c rename to 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 similarity index 100% rename from src/print_graph.h rename to src/print-graph.h