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

Re: bug



quick (but unofficial) fix follows for newline-separated lists.
i'm not sure why the previous code didn't outright crash.
this is not a new version, or patchlevel, or anything.
there should be a set of portability and other bug fixes
released in the next couple of days, but this one i did
want to get out there.
*** ../es-0.67/parse.y	Thu Oct 1 00:25:37 1992
--- ./parse.y	Fri Oct 2 17:47:14 1992
***************
*** 181,187 ****
 	| words word	{ $$ = cons(2,ドル 1ドル); }
 
 nlwords :		{ $$ = NULL; }
! 	| nlwords '\n'	{ $$ = cons(1,ドル NULL); }
 	| nlwords word	{ $$ = cons(2,ドル 1ドル); }
 
 nl	:
--- 181,187 ----
 	| words word	{ $$ = cons(2,ドル 1ドル); }
 
 nlwords :		{ $$ = NULL; }
! 	| nlwords '\n'	{ $$ = 1ドル; }
 	| nlwords word	{ $$ = cons(2,ドル 1ドル); }
 
 nl	:

AltStyle によって変換されたページ (->オリジナル) /