}
core;
-
+#define CORE_ALLOC(Nitems) \
+ (core *) xcalloc ((unsigned) (sizeof (core) \
+ + (Nitems - 1) * sizeof (short)), 1)
typedef struct shifts
{
}
shifts;
+#define SHIFTS_ALLOC(Nshifts) \
+ (shifts *) xcalloc ((unsigned) (sizeof (shifts) \
+ + (Nshifts - 1) * sizeof (short)), 1)
typedef struct errs
}
errs;
+#define ERRS_ALLOC(Nerrs) \
+ (errs *) xcalloc ((unsigned) (sizeof (errs) \
+ + (Nerrs - 1) * sizeof (short)), 1)
+
typedef struct reductions
}
reductions;
+#define REDUCTIONS_ALLOC(Nreductions) \
+ (reductions *) xcalloc ((unsigned) (sizeof (reductions) \
+ + (Nreductions - 1) * sizeof (short)), 1)
+
#endif /* !STATE_H_ */