Skip to content

EPA: Do not collect comments from end of file

Alan Zimmerman requested to merge wip/az/epa-zerowidth-semis1 into master

In Parser.y semis1 production triggers for the virtual semi at the end of a declaration, including at the end of the file. This is detected by it being zero length.

For the final declaration, do not extend the span being used to gather comments, so any final comments are allocated at the module level instead.

Merge request reports