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

Comment Escaping #3

Open
maurer opened this issue Apr 9, 2012 · 2 comments
Open

Comment Escaping #3

maurer opened this issue Apr 9, 2012 · 2 comments

Comments

@maurer
Copy link
Contributor

maurer commented Apr 9, 2012

There should either be documentation of a way to escape characters in a comment, or a way added if there isn't one already. A simple use case is the desire to use the "=" character in the comment, for example to write "let x = M in N", which seems quite common.

@robsimmons
Copy link
Member

That parser... I've made some mistakes in my life.

Can you give me the code that doesn't escape correctly? It's probably just a bug, everything except for -} should be allowed in {- normal multi-line comments -}.

@maurer
Copy link
Contributor Author

maurer commented Apr 10, 2012

Here is a testcase:
https://gist.github.com/2353646
The first bit will render fine, the second bit will complain about an unmatched '=' sign (when viewed in a browser and displayed through olliserver)

(I know you're busy, this is more of an FYI than a ZOMG PLZ FIX. Take your time.)

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

No branches or pull requests

2 participants