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

Pancake parser fails with comment after final return #949

Open
Kswin01 opened this issue Apr 24, 2023 · 1 comment
Open

Pancake parser fails with comment after final return #949

Kswin01 opened this issue Apr 24, 2023 · 1 comment
Labels

Comments

@Kswin01
Copy link

Kswin01 commented Apr 24, 2023

Currently, if there are any comments placed after the final return statement, a parser error is thrown. Not the most obvious parser error to find. @mn200.

@IlmariReissumies
Copy link
Member

During discussions today, we found that this only happens when the comment line lacks a newline at the end. The culprit is skip_comment_def from the Pancake lexer theory, so it's hopefully an easy fix.

@mktnk3 mktnk3 added the Pancake label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants