[climacs-devel] Extra open-paren on parse stack in Common-lisp syntax

Robert Strandh strandh at labri.fr
Mon May 9 14:31:00 UTC 2005


Christophe Rhodes writes:
 > Christophe Rhodes <csr21 at cam.ac.uk> writes:
 > 
 > > Christophe Rhodes <csr21 at cam.ac.uk> writes:
 > >
 > >> Here is a guess: the list-expr in cl-syntax contains (as the list
 > >> items) CL-TERMINALS, which is also the target symbol of the grammar
 > >> itself.  I'm willing to believe that this confuses matters.
 > >
 > > I think this guess is wrong.  Rewriting the list-expr grammar to use a
 > > different list
 > >   (define-list list-items empty-list-items nonempty-list-items cl-terminal)
 > > did not make the problem go away.
 > 
 > The attached patch fixes the problem.  I don't know why.

That patch does not look right to me.  I'll look into the problem
shortly. 

Take care, 
-- 
Robert Strandh

---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------



More information about the climacs-devel mailing list