Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grammar: commented out diagram module-level definitions not recognized #29

Open
ComFreek opened this issue Jan 7, 2020 · 2 comments
Open
Labels
grammar Bugs with the syntax highlighting grammar

Comments

@ComFreek
Copy link
Member

ComFreek commented Jan 7, 2020

The following is not recognized as valid syntax:

// diagram test := blah jmD
@Jazzpirate
Copy link
Contributor

Context?
Comments are tricky, because they're delimited differently depending on where they occur...

@ComFreek
Copy link
Member Author

ComFreek commented Jan 8, 2020

This was top-level in a file. Top-level comments already work for theory and view declarations. So I guess it's just a missing branch in the grammar.

If you do not object, I can do all these grammar issues in a PR. But probably that takes (until they annoy me enough) or (next MMT release).

@ComFreek ComFreek added the grammar Bugs with the syntax highlighting grammar label Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grammar Bugs with the syntax highlighting grammar
Projects
None yet
Development

No branches or pull requests

2 participants