summaryrefslogtreecommitdiff
path: root/mkpar.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkpar.c')
-rw-r--r--mkpar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mkpar.c b/mkpar.c
index 653c202251e99..759cb7e73b99f 100644
--- a/mkpar.c
+++ b/mkpar.c
@@ -1,4 +1,4 @@
-/* $Id: mkpar.c,v 1.14 2014/04/01 23:05:37 tom Exp $ */
+/* $Id: mkpar.c,v 1.15 2016/06/07 00:22:12 tom Exp $ */
#include "defs.h"
@@ -84,7 +84,7 @@ get_shifts(int stateno)
if (sp)
{
to_state2 = sp->shift;
- for (i = (Value_t) (sp->nshifts - 1); i >= 0; i--)
+ for (i = (Value_t)(sp->nshifts - 1); i >= 0; i--)
{
k = to_state2[i];
symbol = accessing_symbol[k];
@@ -153,8 +153,8 @@ add_reduce(action *actions,
temp = NEW(action);
temp->next = next;
- temp->symbol = (Value_t) symbol;
- temp->number = (Value_t) ruleno;
+ temp->symbol = (Value_t)symbol;
+ temp->number = (Value_t)ruleno;
temp->prec = rprec[ruleno];
temp->action_code = REDUCE;
temp->assoc = rassoc[ruleno];
@@ -372,7 +372,7 @@ defreds(void)
defred = NEW2(nstates, Value_t);
for (i = 0; i < nstates; i++)
- defred[i] = (Value_t) sole_reduction(i);
+ defred[i] = (Value_t)sole_reduction(i);
}
static void