diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-01-24 08:32:39 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-01-26 16:21:35 +0100 |
commit | 83463dfbee32f0d289a6fcfc2cf7801f5a910c82 (patch) | |
tree | d9c1c0cd4e82fb30829a4cb9a37bc8924d9e3ccc | |
parent | c3c50c00302e250c07b1b5b4fa2f00d650084a9f (diff) | |
download | bison-83463dfbee32f0d289a6fcfc2cf7801f5a910c82.tar.gz |
style: rename LR0.* as lr0.*
Let's stick to lower case for file names.
* src/LR0.h, src/LR0.c: Rename as...
* src/lr0.h, src/lr0.c: these.
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/conflicts.c | 2 | ||||
-rw-r--r-- | src/ielr.c | 2 | ||||
-rw-r--r-- | src/lalr.c | 2 | ||||
-rw-r--r-- | src/local.mk | 4 | ||||
-rw-r--r-- | src/lr0.c (renamed from src/LR0.c) | 2 | ||||
-rw-r--r-- | src/lr0.h (renamed from src/LR0.h) | 0 | ||||
-rw-r--r-- | src/main.c | 2 | ||||
-rw-r--r-- | src/print-graph.c | 2 | ||||
-rw-r--r-- | src/print-xml.c | 4 | ||||
-rw-r--r-- | src/print.c | 2 |
11 files changed, 11 insertions, 14 deletions
@@ -171,9 +171,6 @@ class in the printers/destructors, which is not good for an operator<< since it is no longer bound to a particular parser, it's just a (standalone symbol). -** Rename LR0.cc -as lr0.cc, why upper case? - * Various ** Rewrite glr.cc in C++ As a matter of fact, it would be very interesting to see how much we can diff --git a/src/conflicts.c b/src/conflicts.c index f81d8318..c849e898 100644 --- a/src/conflicts.c +++ b/src/conflicts.c @@ -23,13 +23,13 @@ #include <bitset.h> -#include "LR0.h" #include "complain.h" #include "conflicts.h" #include "files.h" #include "getargs.h" #include "gram.h" #include "lalr.h" +#include "lr0.h" #include "print-xml.h" #include "reader.h" #include "state.h" @@ -540,7 +540,7 @@ typedef struct state_list /** * nextIsocore is the next state in a circularly linked-list of all states * with the same core. The one originally computed by generate_states in - * LR0.c is lr0Isocore. + * lr0.c is lr0Isocore. */ struct state_list *lr0Isocore; struct state_list *nextIsocore; @@ -28,12 +28,12 @@ #include <bitset.h> #include <bitsetv.h> -#include "LR0.h" #include "complain.h" #include "derives.h" #include "getargs.h" #include "gram.h" #include "lalr.h" +#include "lr0.h" #include "muscle-tab.h" #include "nullable.h" #include "reader.h" diff --git a/src/local.mk b/src/local.mk index b6161fbb..4b0a0ff5 100644 --- a/src/local.mk +++ b/src/local.mk @@ -30,8 +30,6 @@ src_bison_SOURCES = \ src/AnnotationList.h \ src/InadequacyList.c \ src/InadequacyList.h \ - src/LR0.c \ - src/LR0.h \ src/Sbitset.c \ src/Sbitset.h \ src/assoc.c \ @@ -61,6 +59,8 @@ src_bison_SOURCES = \ src/lalr.h \ src/location.c \ src/location.h \ + src/lr0.c \ + src/lr0.h \ src/main.c \ src/muscle-tab.c \ src/muscle-tab.h \ @@ -27,12 +27,12 @@ #include <bitset.h> -#include "LR0.h" #include "closure.h" #include "complain.h" #include "getargs.h" #include "gram.h" #include "lalr.h" +#include "lr0.h" #include "reader.h" #include "reduce.h" #include "state.h" @@ -30,7 +30,6 @@ #include <relocatable.h> /* relocate2 */ #include <timevar.h> -#include "LR0.h" #include "closeout.h" #include "complain.h" #include "conflicts.h" @@ -41,6 +40,7 @@ #include "gram.h" #include "ielr.h" #include "lalr.h" +#include "lr0.h" #include "muscle-tab.h" #include "nullable.h" #include "output.h" diff --git a/src/print-graph.c b/src/print-graph.c index 81280afc..302c7f72 100644 --- a/src/print-graph.c +++ b/src/print-graph.c @@ -21,7 +21,6 @@ #include <config.h> #include "system.h" -#include "LR0.h" #include "closure.h" #include "complain.h" #include "conflicts.h" @@ -30,6 +29,7 @@ #include "gram.h" #include "graphviz.h" #include "lalr.h" +#include "lr0.h" #include "print-graph.h" #include "reader.h" #include "state.h" diff --git a/src/print-xml.c b/src/print-xml.c index b251e150..b3c46a33 100644 --- a/src/print-xml.c +++ b/src/print-xml.c @@ -25,15 +25,15 @@ #include <bitset.h> -#include "LR0.h" #include "closure.h" #include "conflicts.h" #include "files.h" #include "getargs.h" #include "gram.h" #include "lalr.h" -#include "print.h" +#include "lr0.h" #include "print-xml.h" +#include "print.h" #include "reader.h" #include "reduce.h" #include "state.h" diff --git a/src/print.c b/src/print.c index 60bb2b36..365830ff 100644 --- a/src/print.c +++ b/src/print.c @@ -23,13 +23,13 @@ #include <bitset.h> -#include "LR0.h" #include "closure.h" #include "conflicts.h" #include "files.h" #include "getargs.h" #include "gram.h" #include "lalr.h" +#include "lr0.h" #include "muscle-tab.h" #include "print.h" #include "reader.h" |