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
Having multiple semicolons in a row is valid syntax (a bunch of no operations), but multiple commas produces an error. However commas can still be at the end of statements.
The implementation currently doesn't reflect this behaviour.
The text was updated successfully, but these errors were encountered:
This is something of a strangely specific syntax error since it makes the grammar more complicated (statements with comma delimiters are different to statements with semi-colon delimiters). Will probably just have to hardcode in the edge case.
This might actually be a reflection of SQFs grammar only allowing commas to seperate expressions and not statements (NoOp being a type of statement, but not a type of expression). It would make sense with array displays in mind, but need to test if something like 1,; is valid (the expression within the statement consuming the comma).
Having multiple semicolons in a row is valid syntax (a bunch of no operations), but multiple commas produces an error. However commas can still be at the end of statements.
The implementation currently doesn't reflect this behaviour.
The text was updated successfully, but these errors were encountered: