Closed Fidget-Spinner closed 1 year ago
E.g. the following valid Python code is currently rejected
def foo(a, b, c): pass
We should support it by either transforming the DEDENT/INDENT the tokenizer outputs, or add explicit rules in the parser to allow it.
Fixed by https://github.com/source-academy/py-slang/commit/7f8c4903291fd14551e6244edcfc50a686c6df3b.
E.g. the following valid Python code is currently rejected
We should support it by either transforming the DEDENT/INDENT the tokenizer outputs, or add explicit rules in the parser to allow it.