Karim BELABAS on Mon, 1 Jul 2002 20:50:12 +0200 (MEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Bug in parsing of local() |
On Mon, 1 Jul 2002, Ilya Zakharevich wrote: > ? f(x=11,y=x)=local(t=ff(),u=t);1 > *** unknown function or error in formal parameters: f(x=11,y=x)=local(t= > *** ff(),u=t);1 > ^----------- I had swapped two groups of statements: the ones parsing 'local' were not in "parsing function definition" context [ hence were sensitive to "undefined function" syndrom ] It's corrected. Karim. P.S: When we'll be sure GP2C emulates completely the current GP behaviour, it will be a relief to dump that parser... -- Karim Belabas Tel: (+33) (0)1 69 15 57 48 Dép. de Mathematiques, Bat. 425 Fax: (+33) (0)1 69 15 60 19 Université Paris-Sud Email: Karim.Belabas@math.u-psud.fr F-91405 Orsay (France) http://www.math.u-psud.fr/~belabas/ -- PARI/GP Home Page: http://www.parigp-home.de/