You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In comparison to the official Lua grammar, and official Lua implementation, the input is invalid. This is because a function call should be followed by one or more arguments.
So my question is : is this behaviour intended? Or is it a parsing error?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi,
The parser doesn't reject incorrect function calls.
As a short example, consider the following Lua input:
The parser parses and labels function call
(4)
as a valid statement, without raising an error!Here is the output:
In comparison to the official Lua grammar, and official Lua implementation, the input is invalid. This is because a function call should be followed by one or more arguments.
So my question is : is this behaviour intended? Or is it a parsing error?
Thank you.
The text was updated successfully, but these errors were encountered: