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

More Haskell support #48

Merged
merged 2 commits into from
Dec 14, 2011
Merged

More Haskell support #48

merged 2 commits into from
Dec 14, 2011

Conversation

chreekat
Copy link
Contributor

Hi! Two small changes here to improve Haskell support. The first commit is a bug fix and the second is an addition to support 'literate' Haskell.

From the report(s):

    An ordinary comment begins with a sequence of two or more consecutive dashes
    (e.g. --) and extends to the following newline. The sequence of dashes must
    not form part of a legal lexeme. For example, “-->” or “|--” do not begin a
    comment, because both of these are legal lexemes; however “--foo” does start
    a comment.

                            Haskell98:   http://goo.gl/CucLL
                            Haskell2010: http://goo.gl/1OYzN
Since literate code has anti-comments this might be a hack, but it works well
enough. :)
scrooloose added a commit that referenced this pull request Dec 14, 2011
@scrooloose scrooloose merged commit 2c3409d into preservim:master Dec 14, 2011
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

Successfully merging this pull request may close these issues.

2 participants