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

Trivia for ENDMARKER does not appear in pycode #22

Open
spino17 opened this issue Jun 13, 2023 · 0 comments
Open

Trivia for ENDMARKER does not appear in pycode #22

spino17 opened this issue Jun 13, 2023 · 0 comments
Labels
good first issue Good for newcomers

Comments

@spino17
Copy link
Owner

spino17 commented Jun 13, 2023

if you have a jarvil code like this:

def main():
    // some code here
   # This is a comment<ENDMARKER>

where <ENDMARKER> is just for illustrating that it's the end of file here.
Problem:
# This is a comment does not appear in the generated pycode.
So any trivia that relates into <ENDMARKER> if <ENDMARKER> is occuring on an independent line does not show up in generated pycode.

@spino17 spino17 added the good first issue Good for newcomers label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant