aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-09-20 20:18:13 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-20 20:18:13 +0200
commit701d53423cc84df394c4dde962b68099a702cf2c (patch)
treecc49687c2c0b1d0b9e758a1c2fd2e5a4f1fda7ff /common
parentcc5f582897211c510cc18851ea6bffc18bf943e4 (diff)
downloadbrowser-extension-master.tar.gz
browser-extension-master.zip
bump version to 2.0.1HEADv2.0.1masterkoszko
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions
?id=0972feaff1f766c1759d0b89876132ae473725ce'>import: cabal: Allow curly brackets in more positions.Lars-Dominik Braun * guix/import/cabal.scm (is-layout-property): Do not expect end of line. (lex-layout-property): Check for newline. (lex-property): Stop reading on closing curly bracket. * tests/hackage.scm (test-read-cabal-2): New variable. ("read-cabal test: if brackets on the same line"): New test. 2022-06-06import: cabal: Support elif statement.Lars-Dominik Braun Fixes <https://issues.guix.gnu.org/54752>. * guix/import/cabal.scm (make-cabal-parser): Replace if-then-else grammar case with elif-else, modify if-then accordingly. (is-elif): New procedure. (lex-elif): Likewise. (is-id): Add elif keyword. (lex-word): Add test for elif. * tests/hackage.scm (test-cabal-if): New variale. (test-cabal-else): Likewise. (test-cabal-elif): Likewise. (test-cabal-elif-brackets): Likewise. (match-ghc-elif): Likewise. ("hackage->guix-package test lonely if statement", "hackage->guix-package test else statement", "hackage->guix-package test elif statement", "hackage->guix-package test elif statement with brackets"): New tests. 2021-09-15import: cabal: Treat identifier names correctly.Xinglu Chen * guix/import/cabal.scm (is-id): Accept the location as an argument. Don’t check if the identifier name is a reserved keyword unless it is the first word on the line. (lex-word): Adjust accordingly. * tests/hackage ("hackage->guix-package tests flag executable"): Expect it to pass. Fixes: <https://issues.guix.gnu.org/25138> Signed-off-by: Lars-Dominik Braun <lars@6xq.net> 2021-06-25import: hackage: Support "common" field and importsPhilip Munksgaard Fixes <https://issues.guix.gnu.org/48701>. * guix/import/cabal.scm (make-cabal-parser): Modify. (is-common): New variable. (lex-common): New procedure. (is-id): Modify. (eval-cabal): Modify. * tests/hackage.scm ("hackage->guix-package test cabal import") New test. Signed-off-by: Ludovic Courtès <ludo@gnu.org>