diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2022-05-01 08:34:42 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2022-06-06 13:26:45 +0200 |
commit | e3337f35afa83e746f0a66451fd4d2212c032b03 (patch) | |
tree | edab05615f5ca472cf136d579373d10e735b08d3 /tests | |
parent | 001e0bac99c977d2ff04910295b154f91aa3d369 (diff) | |
download | guix-e3337f35afa83e746f0a66451fd4d2212c032b03.tar.gz guix-e3337f35afa83e746f0a66451fd4d2212c032b03.zip |
import: cabal: Allow curly bracket before else statement.
* guix/import/cabal.scm (is-else): Turn into procedure.
(lex-line): Move IS-ELSE…
(lex-word): …here.
* tests/hackage.scm (test-cabal-elif-brackets): Extend testcase.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/hackage.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hackage.scm b/tests/hackage.scm index 4ce48b6baf..98f9c34fd2 100644 --- a/tests/hackage.scm +++ b/tests/hackage.scm @@ -398,7 +398,10 @@ library elif os(guix) { Build-depends: ghc-c } elif os(third) { Build-depends: ghc-d } - else + elif os(fourth) + { + Build-depends: ghc-d + } else Build-depends: ghc-e ") |