[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reductions during Bison error handling
From: |
Richard Stallman |
Subject: |
Re: Reductions during Bison error handling |
Date: |
Sat, 25 May 2002 15:19:01 -0600 (MDT) |
The effect is that when a syntax error is discovered, we would now pop
the stack back to where 'error' can be shifted, shift it, and then
continue (the standard yacc panic-mode error recovery, in other
words). By contrast, the current code will, after popping stack
symbols but before shifting error, sometimes perform additional
reductions (as a result of which it may never shift error or take the
error action at all.) I sent a contrived example a couple of weeks
ago (below).
Since this is only a matter of error processing, I think it can't
cause real harm. So please go ahead.
- Re: Reductions during Bison error handling, (continued)
- Re: Reductions during Bison error handling, Akim Demaille, 2002/05/24
- Re: Reductions during Bison error handling, Hans Aberg, 2002/05/24
- Re: Reductions during Bison error handling, Paul Eggert, 2002/05/21
- Re: Reductions during Bison error handling, Paul Hilfinger, 2002/05/21
- Re: Reductions during Bison error handling, Paul Eggert, 2002/05/22
- Re: Reductions during Bison error handling, Paul Hilfinger, 2002/05/22
- Re: Reductions during Bison error handling, Akim Demaille, 2002/05/23
- Re: Reductions during Bison error handling, Hans Aberg, 2002/05/23
- Re: Reductions during Bison error handling, Richard Stallman, 2002/05/23
- Re: Reductions during Bison error handling, Paul Hilfinger, 2002/05/23
- Re: Reductions during Bison error handling,
Richard Stallman <=
- Re: Reductions during Bison error handling, Mike Castle, 2002/05/23
Re: Reductions during Bison error handling, Paul Eggert, 2002/05/20
Re: Reductions during Bison error handling, Paul Hilfinger, 2002/05/13
Re: Reductions during Bison error handling, Paul Hilfinger, 2002/05/21