Bill Allombert on Sun, 08 Sep 2024 16:29:54 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Wrong error message from 2u
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: Wrong error message from 2u
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Sun, 8 Sep 2024 16:29:49 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1725805791; c=relaxed/relaxed; bh=l12lkzzfFe1sD0zZyL9hPFg5VfQD4NYWhXFbC8yC7lQ=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=N8CklEmzzM11y0ia14pkSqbKuAvG9szqdnrQY6vUex4JjQN99r5t4Tlnkc6klUbRcnkpDXoKlhHq1rjPWVlo/5+nUhfvXiNVzih2Z3bKK8p7l8rn4HwVFCrigWoLGCILcVyO1u1nDlR3g+/op/UTPPbK4TBmRVjUI4FdUyhlRC5Z+L7JzsNC9tYaOihAyXBQgt+o09N64ByKVi1Ugj+DA7zwZh9vk/TYcWiVlm+Bl0rDkhTqy2+SF3iU4YchmerORI31SfK9rJBeczT8tfFBps07qZuaJ2P3TlnfuVwAOiVNJKIN7uMQHOnjU+JwQ9SIx6UPSuW/fgMjYLDROMj3f2DMYA3p2gxP7zGPZXYT2VCi5hcExIKe9gXfoEOclvuaBStSDNbFd6CM/39MHVAKIhsg60eVXSFgU7L8xlUKYx2umO/zy3t2LMh9fcibq6uB1u3omaNGpasXssKQIDuNfeoYg0sJStajfe4rrwVkhYxvSFcV+XYWvoUsRBENd1tEwoYO3MYkmnEolBx860Q+1LLNdNYOiFq2SSJQ4W1AWa0AVkKIRqZNVkf1xQiyksekingK9JKHwu0MXQMAFpoL5cFwzYfmmqcXgK5fBX6qB6GOMF4vj9uWmBi9Shb1Ot4sw7v129g5Nl5cxlICPJq1Vsu7GzYROAQGlsv6cGMemVY=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1725805791; cv=none; b=cEEugGkNUDSxYqMro2BYDaNe6MW8HXL8fygaRxcWq0/VdhrUrKcTOTh6r9LRRox/RWljTLCzfGZgSph3wt5ZidWC6Fxnm7emRGyYm0Ihz3fDH6dDXolZarPwxVcOaoDzms6dkPI+RnUsYUSxdFXCoQVuo08QXn0wP8kN6xybxEUuXXXhvysL2hpCYESOhi9MgqEjfVHWh6jJoWBukZH+U7Nohdbjfv4e3ZAtqsydy0geE9UavhMTFZzz9Fgj8R5pNou7W0Kxhtgnjz/McA7uSm9ppi+lQoMB5E0/Vi+XJPDwF1U1I+p9qhk9CUn0n6L2hu+nJVHqth4RBpHIifxkHcsW4rMKQtjzQd5N9YAY1TdTNH6cAvia2SxgRrNIpDDWa5A9W3Co18g5g50riO3GNWr6YZihaHyzaTHu5C8Ce21SS/KloVY2y7K3FrpGWLC/kmqqrXeafA1g9mCot1ry1f7RxFD8sfoJxSUw9c76g7s05R7UJcjm02o74KlieF7HqSWm4wKN3hESfBM94ti6T15pXXexUrgMraIibOmYL7Pnonxt7i9Rc1j3g49dXR/x6PYS3h+kcZ0mVMgkmgR9eTllW3FcFcP8AFbbjaIlnatU5DxNTxKEHgFrsV5bKaZYJ11AFW/O579KL6VjonUg30pictJ/bl1VHPQB1WCjtXo=
- Authentication-results: smail; dmarc=none header.from=math.u-bordeaux.fr
- Authentication-results: smail; arc=none
- Delivery-date: Sun, 08 Sep 2024 16:29:54 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1725805791; bh=l12lkzzfFe1sD0zZyL9hPFg5VfQD4NYWhXFbC8yC7lQ=; h=Date:From:To:Subject:References:In-Reply-To:From; b=WHkmyHPCdZi5+XqzK6BHas2BLXceUIFRpxLeyvutVHFE26PRPvcL9vCo2/gFUl6W2 BBgT7G1kDgnBZSRrcp3z4RMsqVX+FBJVa9LsKWHaep2lM49wOuhM3gLvaFCzcouh07 avV2vQPbdQ/UvCUY+JXPP+Qz4cgLKY1G+D1x2DbtaB9qnaCxGY7lax+RQXROuOtPfu fBjFQq6qZ8mPMkWkKjVU09TVn1YWIeLN0W9dn8I9q4f1edsJYWkl02mmb+3r1Ba3VS btQW4/omRNLOWCdWuojFOOzAtWf+ogAxAPM8TIN01GSHHq2D9OugRUj2XCsq6Xj7Zw o9u4pItzK5G0PwMjbxJXNUiDiOUlWhG9wXSwyFnfDAS1YTgvBQ9jfLv+WBFvqjwfXe YhlKNOvhJbgbQYZGJUK/XqxGUubfTXmgWGo6FS7Q+J7VV0jhMfPqeer6L0KzBuG8Xm tlyBB3S+KeEENGMz1GiIKcD4aj4ZX2Q26neFPnjtQh17Qw6G1sE55PCk2W0YvM8Wl9 9Sx1tyCb5QNpzuRCeQtUXJoLWdA/ZTmMPzvC2a5FtUSJFWOfI/FcepoR3k1TLo1CzM qAcoFQh1EeyudznByE3CKStzp/C0AT76KMgX+u4OdEolS3EylE2czC8TgFjsfaS0kh nv3b4VwBik60PwKhlvPhPNLY=
- In-reply-to: <20240812095417.GG3071@qaa.vinc17.org>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <ZrmwRjKBBrZFqTOx@debian.attlocal.net> <20240812095417.GG3071@qaa.vinc17.org>
On Mon, Aug 12, 2024 at 11:54:17AM +0200, Vincent Lefevre wrote:
> On 2024-08-11 23:48:38 -0700, Ilya Zakharevich wrote:
> > In
> > (23:29) gp > my([a,b,c]=[(u-v)^2,2u*v,(u+v)^2]); c^2-a^2-b^2
> > *** syntax error, unexpected variable name, expecting ',': ...,c]=[(u-v)^2,2u*v,(u+v)^2]);c^2-a^2-b^2
> > *** ^--------------
> >
> > the arrow points at the second closing bracket. The actual problem is
> > 2u.
>
> The issue seems to be the "expecting ','" (and the position of
> the arrow is a consequence). Why "expecting ','"?
>
> Simpler testcase:
>
> ? [2u,3]
> *** syntax error, unexpected variable name, expecting ',': [2u,3]
> *** ^-
I fixed it in master:
? [2u,3]
*** syntax error, unexpected variable name, expecting ',': [2u,3]
*** ^----
? my([a,b,c]=[(u-v)^2,2u*v,(u+v)^2]); c^2-a^2-b^2
*** syntax error, unexpected variable name, expecting ',': my([a,b,c]=[(u-v)^2,2u*v,(u+v)^2]);c^2-a^2-b^2
*** ^-------------------------
Thanks for reporting this!
Cheers,
Bill.