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

Hackage description port lint error #52

Open
Korusuke opened this issue Aug 18, 2019 · 1 comment
Open

Hackage description port lint error #52

Korusuke opened this issue Aug 18, 2019 · 1 comment

Comments

@Korusuke
Copy link
Member

For few packages in hackage the description looks like:

description         This package provides a pure interface for compressing and \
                    decompressing streams of data represented as lazy \
                    ByteStrings. It uses the \
                    zlib C library \
                    so it has high performance. It supports the "zlib", \
                    "gzip" and "raw" compression formats.

and due to the quotes port lint gives a syntax error:

("extra characters after close-quote").

so should we remove quotes from all description by default for all frontends in upt-macports itself ?

@jmroot
Copy link
Member

jmroot commented Aug 18, 2019

Or backslash-escape them, which is probably not much more work. It's specifically the comma adjacent to the close-quote that causes this BTW. Tcl uses double quotes to indicate word boundaries in cases where something would normally be parsed as multiple words due to containing spaces. So list foo bar gives exactly the same result as list "foo" "bar" (a list with 2 elements), whereas list "foo bar" gives a list with one element.

Korusuke added a commit to Korusuke/upt-macports that referenced this issue Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants