From bug-request at octave dot org Tue Jan 11 19:32:39 2005 Subject: Re: Problems with flex. From: "John W. Eaton" To: Nick Longo Cc: "Dmitri A. Sergatskov" , bugs@octave.org Date: Tue, 11 Jan 2005 17:35:17 -0800 On 8-Jan-2005, Dmitri A. Sergatskov wrote: | John W. Eaton wrote: | ... | | > I think flex 2.5.4 is quite old. I see that on my system, I have | > 2.5.31 now. Version numbers are not usually decimal fractions, but a | > series of integers separated by periods. | > | | 2.5.4a definitely not too old to compile octave-2.1.64 and octave-forge-2004.11.16 Please try the following patch. Thanks, jwe src/ChangeLog: 2005-01-11 John W. Eaton * DLD-FUNCTIONS/gplot.l (UNOP): Avoid trailing comment. Index: src/DLD-FUNCTIONS/gplot.l =================================================================== RCS file: /usr/local/cvsroot/octave/src/DLD-FUNCTIONS/gplot.l,v retrieving revision 1.2 diff -u -r1.2 gplot.l --- src/DLD-FUNCTIONS/gplot.l 28 Dec 2004 01:59:05 -0000 1.2 +++ src/DLD-FUNCTIONS/gplot.l 12 Jan 2005 01:29:47 -0000 at @ -108,7 +108,8 @@ NOT ((\~)|(\!)) /* NOT is not strictly a binary operator, but is close enough for us. */ BINOP (({NOT})|(\.?([\*/\\^+-]|\*\*)=?)|([<=~!>&|]=)|([=&|<>]{1,2})|(<<=)|(>>=)|(\.)) -UNOP ((\+\+)|(\-\-)|(\.')) /* ' */ +/* single quote (') transpose operator is handled separately. */ +UNOP ((\+\+)|(\-\-)|(\.')) %% ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------