Re: Attributes
"'eugeny gladkih' via lua-l" <[email protected]> Thu, 28 May 2026 16:19:29 +0300
| Newsgroups | gmane.comp.lang.lua.general |
|---|---|
| Message-ID | <[email protected]> |
> On 28 May 2026, at 13:17, Francisco Olarte <[email protected]> wrote: >>> >>> stat ::= local attnamelist [‘=’ explist] >>> attnamelist ::= Name attrib {‘,’ Name attrib} >>> attrib ::= [‘<’ Name ‘>’] >> >> added, but weird thing happened: >> >> Lua 5.4.8 Copyright (C) 1994-2025 Lua.org, PUC-Rio >>> local s<close,const>=io.open( 's', 'r' ) >> stdin:1: '>' expected near ',' > > >> this code seems to be very useful and friendly, but no way… > > But it is doing the thing, the syntax added optional atttribute, not > attribute list. > > < close , const > has two names and a comma, attrib takes just a single name. > yep. close+const is a great mix which couldn’t be constructed, yeah? -- Yours sincerely, Eugeny. -- You received this message because you are subscribed to the Google Groups "lua-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/lua-l/58940E3D-EC7A-4965-9E65-BB1C0EDDC104%40drweb.com.