From 3075d96d44d329f70cadb5b886bc827ad07ddf03 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 25 Jan 2019 19:27:48 +0100 Subject: style: comment changes * src/lr0.c, src/state.c, src/state.h: here. --- src/lr0.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lr0.c') 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; -- cgit v1.2.1