source-academy / py-slang

Python sublanguage for SICP
Apache License 2.0
0 stars 0 forks source link

Trailing spaces on blank lines results in error #5

Closed RichDom2185 closed 1 year ago

RichDom2185 commented 1 year ago

[Transferred from source-academy/js-slang/issues/1412]

When running Python 1, Having trailing spaces on otherwise blank lines results in errors:

Example:

print("hi")

print("world")

Not sure if this is intentional.

Fidget-Spinner commented 1 year ago

Fixed by https://github.com/source-academy/py-slang/commit/1587bd56d80efdc061bdae7ce8b364e7f06a7284.

To reflect the fix in js-slang, we need to git submodule update --remote