summaryrefslogtreecommitdiff
path: root/src/state.h
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2019-03-29 22:03:37 +0100
committerAkim Demaille <akim.demaille@gmail.com>2019-03-30 10:10:39 +0100
commiteb92ec3dc6239e8225220e7d2e619c1b60ef11f8 (patch)
tree6a560bbec3e02ecc3f7d8a0a00412f944bdecc2e /src/state.h
parentdee8fbbc1eb82b28c1adb5c6c1e46b0e68201628 (diff)
downloadbison-eb92ec3dc6239e8225220e7d2e619c1b60ef11f8.tar.gz
style: rename variables for consistency
* src/lalr.c: Use trans for transitions, and reds for reductions, as elsewhere in the code. * src/state.h: Comment changes.
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 498323fe..605d7e1d 100644
--- a/src/state.h
+++ b/src/state.h
@@ -112,7 +112,7 @@ typedef struct state state;
typedef struct
{
- int num;
+ int num; /** Size of destination STATES. */
state *states[1];
} transitions;