Skip to content

Allow nested block comments in parser #774

@nickbattle

Description

@nickbattle

This was recently raised on VDMJ (via VDM VSCode). It is quite useful to correctly parse nested /* ... */ style block comments because it means you can comment out large blocks of code without worrying about any comments within. The behaviour is unspecified in the LRM, so this is just a usability change.

Metadata

Metadata

Assignees

Labels

MergableA fix is available on a branch to merge for releaseenhancementNot a bug, but nice to havelanguageIssues in parser, TC, interpreter, POG or CG

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions