/* Part of the bison parser generator,
- Copyright 1984, 1989, 2000 Free Software Foundation, Inc.
+ Copyright 1984, 1989, 2000, 2001 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
do so. */
#include "system.h"
+#include "getargs.h"
#include "types.h"
#include "gram.h"
#include "nullable.h"
char any_tokens;
short *r1;
-#ifdef TRACE
- fprintf (stderr, _("Entering set_nullable"));
-#endif
+ if (trace_flag)
+ fprintf (stderr, "Entering set_nullable");
nullable = XCALLOC (char, nvars) - ntokens;
{
if (*r < 0)
{
- symbol = rlhs[-(*r++)];
+ symbol = rule_table[-(*r++)].lhs;
if (symbol >= 0 && !nullable[symbol])
{
nullable[symbol] = 1;
p = p->next;
if (--rcount[ruleno] == 0)
{
- symbol = rlhs[ruleno];
+ symbol = rule_table[ruleno].lhs;
if (symbol >= 0 && !nullable[symbol])
{
nullable[symbol] = 1;