diff options
author | Ludovic Courtès | 2020-08-01 12:49:29 +0200 |
---|---|---|
committer | Ludovic Courtès | 2020-08-01 17:00:15 +0200 |
commit | d183aa487d99baea3746f79759c17cf36c55dfbf (patch) | |
tree | c3cf9577d5f252e0c9f3fb30f780b0b75fb57b0f /src/guile/skribilo/utils/syntax.scm | |
parent | ddb2e47d8ed4d6d6508d342c0718492f99db64d4 (diff) | |
download | skribilo-d183aa487d99baea3746f79759c17cf36c55dfbf.tar.gz skribilo-d183aa487d99baea3746f79759c17cf36c55dfbf.tar.lz skribilo-d183aa487d99baea3746f79759c17cf36c55dfbf.zip |
build: Remove support for Guile 1.8.
* configure.ac: Remove "1.8" from 'GUILE_PKG'.
Remove 'HAVE_GUILE2' conditional. Remove checks for (srfi srfi-34),
(srfi srfi-35), and (srfi srfi-37).
* guilec.am: Inline what was in HAVE_GUILE2 and remove the alternate.
* src/guile/skribilo/debug.scm (debug-item): Remove 'cond-expand' and
keep only the 'guile-2' variant.
* src/guile/skribilo/engine.scm (engine-loaded?): Likewise.
* src/guile/skribilo/lib.scm (&invocation-location, define-markup): Likewise.
* src/guile/skribilo/utils/syntax.scm (%skribilo-module-reader): Likewise.
* web/index.skb: Remove mention of 1.8.
* README: Likewise.
Diffstat (limited to 'src/guile/skribilo/utils/syntax.scm')
-rw-r--r-- | src/guile/skribilo/utils/syntax.scm | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/guile/skribilo/utils/syntax.scm b/src/guile/skribilo/utils/syntax.scm index c771507..5c606fc 100644 --- a/src/guile/skribilo/utils/syntax.scm +++ b/src/guile/skribilo/utils/syntax.scm @@ -1,7 +1,7 @@ ;;; syntax.scm -- Syntactic candy for Skribilo modules. -*- coding: utf-8 -*- ;;; ;;; Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2011, -;;; 2012, 2016, 2018 Ludovic Courtès <ludo@gnu.org> +;;; 2012, 2016, 2018, 2020 Ludovic Courtès <ludo@gnu.org> ;;; ;;; ;;; This file is part of Skribilo. @@ -56,15 +56,7 @@ "") (G_ "unexpected character in Skribilo module")) chr))) - - (cond-expand - (guile-2 '(reader/record-positions)) - (else - ;; On Guile 1.8, don't record positions by default: this yields a - ;; nice read performance improvement. - (if (memq 'positions (debug-options)) - (list 'reader/record-positions) - '()))))) + '(reader/record-positions))) (define-macro (skribilo-module-syntax) "Install the syntax reader for Skribilo modules." |