From 0c57fc9ef9720eaac3441a6ad0d31007eb0f342b Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Sun, 19 May 2019 19:42:48 -0400 Subject: [PATCH] Move 'textual-ports' under 'compat'. * gash/textual-ports.scm: Move this... * gash/compat/textual-ports.scm: ...here. * Makefile.am, gash/lexer.scm, gash/parser.scm, gash/shell.scm, tests/unit/shell.scm: Update references. --- Makefile.am | 2 +- gash/{ => compat}/textual-ports.scm | 2 +- gash/lexer.scm | 2 +- gash/parser.scm | 2 +- gash/shell.scm | 2 +- tests/unit/shell.scm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename gash/{ => compat}/textual-ports.scm (96%) diff --git a/Makefile.am b/Makefile.am index 6141451..c56e672 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,6 +38,7 @@ GUILE_MODULES = \ gash/built-ins/utils.scm \ gash/built-ins.scm \ gash/compat/hash-table.scm \ + gash/compat/textual-ports.scm \ gash/compat.scm \ gash/config.scm \ gash/environment.scm \ @@ -49,7 +50,6 @@ GUILE_MODULES = \ gash/readline.scm \ gash/repl.scm \ gash/shell.scm \ - gash/textual-ports.scm \ gash/word.scm bin_SCRIPTS = \ diff --git a/gash/textual-ports.scm b/gash/compat/textual-ports.scm similarity index 96% rename from gash/textual-ports.scm rename to gash/compat/textual-ports.scm index 5487764..239d2e4 100644 --- a/gash/textual-ports.scm +++ b/gash/compat/textual-ports.scm @@ -16,7 +16,7 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with Gash. If not, see . -(define-module (gash textual-ports)) +(define-module (gash compat textual-ports)) ;;; Commentary: ;;; diff --git a/gash/lexer.scm b/gash/lexer.scm index 6bb6739..8ef5b50 100644 --- a/gash/lexer.scm +++ b/gash/lexer.scm @@ -17,7 +17,7 @@ ;;; along with Gash. If not, see . (define-module (gash lexer) - #:use-module (gash textual-ports) + #:use-module (gash compat textual-ports) #:use-module (ice-9 match) #:use-module (ice-9 rdelim) #:use-module (ice-9 receive) diff --git a/gash/parser.scm b/gash/parser.scm index 9f95ddb..fee54c2 100644 --- a/gash/parser.scm +++ b/gash/parser.scm @@ -17,8 +17,8 @@ ;;; along with Gash. If not, see . (define-module (gash parser) + #:use-module (gash compat textual-ports) #:use-module (gash lexer) - #:use-module (gash textual-ports) #:use-module (ice-9 match) #:use-module (srfi srfi-1) #:use-module (srfi srfi-11) diff --git a/gash/shell.scm b/gash/shell.scm index 3ab189c..ef16161 100644 --- a/gash/shell.scm +++ b/gash/shell.scm @@ -1,8 +1,8 @@ (define-module (gash shell) #:use-module (gash built-ins) + #:use-module (gash compat textual-ports) #:use-module (gash environment) #:use-module (gash pattern) - #:use-module (gash textual-ports) #:use-module (ice-9 match) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) diff --git a/tests/unit/shell.scm b/tests/unit/shell.scm index 8747e7b..c885a89 100644 --- a/tests/unit/shell.scm +++ b/tests/unit/shell.scm @@ -17,9 +17,9 @@ ;;; along with Gash. If not, see . (define-module (test-shell) + #:use-module (gash compat textual-ports) #:use-module (gash environment) #:use-module (gash shell) - #:use-module (gash textual-ports) #:use-module (ice-9 ftw) #:use-module (ice-9 match) #:use-module (srfi srfi-64)