[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Thoughts on new syntax for toclose
- From: Sergey Zakharchenko <doublef.mobile@...>
- Date: Wed, 22 May 2019 05:13:58 +0000
Sean,
> There's also <const> as well. But you can't combine them:
Sources say you needn't:
https://github.com/lua/lua/blob/d9f40e3f6fb61650240c47d548bee69b24b07859/lparser.c#L1679
> var->ro = 1; /* to-be-closed variables are always read-only */
Supposedly for future extensions several such annotations would be
placed inside the angle brackets, comma-separated or something... just
guessing.
Best regards,
--
DoubleF