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

javaStyle defined as case insensitive #99

Open
Marckvdv opened this issue Jul 3, 2018 · 0 comments
Open

javaStyle defined as case insensitive #99

Marckvdv opened this issue Jul 3, 2018 · 0 comments

Comments

@Marckvdv
Copy link

Marckvdv commented Jul 3, 2018

In Text.Parsec.Language the definition for the javaStyle is:

javaStyle  :: LanguageDef st
javaStyle   = emptyDef
                { commentStart   = "/*"
                , commentEnd     = "*/"
                , commentLine    = "//"
                , nestedComments = True
                , identStart     = letter
                , identLetter    = alphaNum <|> oneOf "_'"
                , reservedNames  = []
                , reservedOpNames= []
                , caseSensitive  = False -- <==
}

Which defines java style to be case insensitive, which is very confusing as most java style languages are in fact case sensitive. Not sure if this is an oversight or me misunderstanding the intention of this language definition.

int-index pushed a commit to int-index/parsec that referenced this issue Sep 18, 2020
Fixes haskell#21, which noted that the `LICENSE` file was inconsistent with
`License: BSD3` in the .cabal` file.
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

1 participant