spino17/jarvil

Trivia for ENDMARKER does not appear in pycode

spino17 opened this issue · 0 comments

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.