summaryrefslogtreecommitdiff
path: root/compiler/Language/Haskell/Syntax/Module
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2022-12-29 22:12:27 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-01-05 10:49:09 -0500
commit22bb89989fc0a907ef6b8f6ae99aa8907f67e438 (patch)
tree017ae9669e6ab88c329028514faa3e94fd78509c /compiler/Language/Haskell/Syntax/Module
parent541aedcd9023445b8e914d595ae8dcf2e799d618 (diff)
downloadhaskell-22bb89989fc0a907ef6b8f6ae99aa8907f67e438.tar.gz
EPA: Do not collect comments from end of file
In Parser.y semis1 production triggers for the virtual semi at the end of the file. This is detected by it being zero length. In this case, do not extend the span being used to gather comments, so any final comments are allocated at the module level instead.
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Module')
0 files changed, 0 insertions, 0 deletions