summaryrefslogtreecommitdiff
path: root/src/lr0.c
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-01-25 19:27:48 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-01-28 07:00:23 +0100
commit3075d96d44d329f70cadb5b886bc827ad07ddf03 (patch)
tree619625bd1292672da2fbc7d204293230bc00db89 /src/lr0.c
parent7fec997ecf710b459c2d2b2fcb195b2130c32369 (diff)
downloadbison-3075d96d44d329f70cadb5b886bc827ad07ddf03.tar.gz
style: comment changes
* src/lr0.c, src/state.c, src/state.h: here.
Diffstat (limited to 'src/lr0.c')
-rw-r--r--src/lr0.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lr0.c b/src/lr0.c
index a54f1e15..9d8d3d55 100644
--- a/src/lr0.c
+++ b/src/lr0.c
@@ -80,7 +80,10 @@ state_list_append (symbol_number sym, size_t core_size, item_number *core)
bitset shift_symbol;
static rule **redset;
-/* For the current state, the states that can be reached via a "shift". */
+/* For the current state, the list of pointers to states that can be
+ reached via a shift/goto. Could be indexed by the reaching symbol,
+ but labels of incoming transitions can be recovered by the state
+ itself. */
static state **shiftset;
static item_number **kernel_base;