Use include-from-path for psyntax.pp.

* module/mes/psyntax.pp: Rename from module/mes/psyntax-pp.mes.
* module/mes/psyntax.mes: Update.
* AUTHORS: Update.
This commit is contained in:
Jan Nieuwenhuizen 2016-12-22 19:49:41 +01:00
parent 0bac0cb948
commit 8a78f45e25
4 changed files with 9 additions and 7 deletions

View file

@ -19,9 +19,9 @@ module/mes/match.scm
Portable LALR(1) parser generator
module/mes/lalr.scm
Portable syntax-case from Chez Scheme
Portable syntax-case from Chez Scheme; patches from Guile
module/mes/psyntax.ss
module/mes/psyntax-pp.mes [generated]
module/mes/psyntax.pp [generated]
Optargs from Guile
module/mes/optargs.scm

View file

@ -113,10 +113,12 @@ guile-mescc: mescc.cat
paren: all
scripts/paren.mes
GUILE_GIT:=$(HOME)/src/guile
psyntax-import:
git --git-dir=$(GUILE_GIT)/.git --work-tree=$(GUILE_GIT) show ba8a709:ice-9/psyntax.ss > module/mes/psyntax.ss
git --git-dir=$(GUILE_GIT)/.git --work-tree=$(GUILE_GIT) show ba8a709:ice-9/psyntax.pp > module/mes/psyntax-pp.mes
GUILE_GIT:=$(HOME)/src/guile-1.8
GUILE_COMMIT:=ba8a709
psyntax-import: module/mes/psyntax.ss module/mes/psyntax.pp
module/mes/psyntax.%: $(GUILE_GIT)/ice-9/psyntax.%
git --git-dir=$(GUILE_GIT)/.git --work-tree=$(GUILE_GIT) show $(GUILE_COMMIT):ice-9/$(@F > $@
help: help-top

View file

@ -23,6 +23,6 @@
;;; Code:
(mes-use-module (mes psyntax-0))
(mes-use-module (mes psyntax-pp))
(include-from-path "mes/psyntax.pp")
(mes-use-module (mes psyntax-1))
(mes-use-module (mes quasisyntax))