Lua 5.4 local attribute syntax whitespace sensitivity
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Lua 5.4 local attribute syntax whitespace sensitivity
- From: Sergey Zakharchenko <doublef.mobile@...>
- Date: 2020年8月19日 19:36:19 +0400
Hello,
As far as i understand, the current (5.4.0) parser requires a space
after the attribute's closing '>' if it's followed by a '=', resulting
in an error "'>' expected near '>='" when parsing e.g. "local
a<close>=f()". I don't mind that too much, but it seems a bit
inelegant to me. Is it going to stay this way, or will the construct
without a space be allowed eventually?
Best regards,
--
DoubleF