Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Parser should throw syntax error on missing parenthesis #198

Closed
jcubic opened this issue Nov 7, 2021 · 0 comments
Closed

New Parser should throw syntax error on missing parenthesis #198

jcubic opened this issue Nov 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jcubic
Copy link
Owner

jcubic commented Nov 7, 2021

The old code was throwing errors on unbalanced parenthesis but the new parser is ignoring the errors. I've just added this into the standard library:

(define %%start-jiffy
  (truncate (* 1000 (if (eq? self window)
                        performance.timing.navigationStart
                        performance.timeOrigin)))
  "Constant value that indicates start jiffy of the scheme process."

and forget about closing parenthesis, and the rest of the code in the standard library just got ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant