bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unreachable states after conflict resolution (was: Re: LR(1) paser g


From: Joel E. Denny
Subject: Re: unreachable states after conflict resolution (was: Re: LR(1) paser generator based on Pager's algorithm)
Date: Sun, 27 May 2007 02:19:19 -0400 (EDT)

On Sun, 6 May 2007, Joel E. Denny wrote:

> +void
> +conflicts_update_state_numbers (state_number old_to_new[],
> +                                state_number nstates_old)
> +{
> +  for (state_number i = 0; i < nstates_old; ++i)
> +    if (old_to_new[i] != nstates_old)
> +      conflicts[old_to_new[i]] = conflicts[i];
> +}
> +
> +

It looks like I've been slipping into C99 lately.  Do we expect our users' 
compilers to support C99?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]