Describe the bug
Processing a CMake file that has a doccomment not attached to any other entity results in a mismatched input <EOF> error from Antlr.
Expected behavior
Since a dangling doccomment is not considered "proper" syntax, how we should handle this is up for debate. At the very least, CMinx should not vomit a stacktrace in such a case. It should probably warn the user, and either ignore the comment or stick it in a simple text block in the RST.
Additional context
Found after merging CMakePP/CMaize#102, during the Build-Documentation workflow.
Describe the bug Processing a CMake file that has a doccomment not attached to any other entity results in a
mismatched input <EOF>
error from Antlr.Expected behavior Since a dangling doccomment is not considered "proper" syntax, how we should handle this is up for debate. At the very least, CMinx should not vomit a stacktrace in such a case. It should probably warn the user, and either ignore the comment or stick it in a simple text block in the RST.
Additional context Found after merging CMakePP/CMaize#102, during the Build-Documentation workflow.