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

Defining a language with multiple comment-start and comment-end characters #30

Closed
emberian opened this issue May 14, 2016 · 2 comments
Closed

Comments

@emberian
Copy link

Isabelle theories want something like this

Language::new("--", "{*,(*,‹,\\<open>", "*},*),›,\\<close>"),

Where all of those comment styles are used pretty ubiquitously.

@XAMPPRocky
Copy link
Owner

I'll probably change the multi-line comments from comma separated &str, to Vec's, and the multi-line's will be in tuple pairings, so that comments aren't ended accidentally by a different closing comment.

@XAMPPRocky
Copy link
Owner

Fixed in 2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants