diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-19 17:54:30 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2018-08-07 12:34:11 +0200 |
commit | 44cdabd9e3b8bc7baca4e6b7506b950dd7cbadd4 (patch) | |
tree | 743499455ad3a036fe4d739f583fcd195420c061 /doc/ref/api-evaluation.texi | |
parent | 0075b7f4dc2aaad157e866ec7be91ac9f6362b93 (diff) | |
download | guile-44cdabd9e3b8bc7baca4e6b7506b950dd7cbadd4.tar.gz |
compile: Add '-x' flag.
* module/scripts/compile.scm (%options, compile): Add '-x'.
* doc/ref/api-evaluation.texi (Compilation): Document it.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r-- | doc/ref/api-evaluation.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi index 98593ce3f..60f7fece9 100644 --- a/doc/ref/api-evaluation.texi +++ b/doc/ref/api-evaluation.texi @@ -658,6 +658,12 @@ Write output bytecode to @var{ofile}. By convention, bytecode file names end in @code{.go}. When @option{-o} is omitted, the output file name is as for @code{compile-file} (see below). +@item -x @var{extension} +Recognize @var{extension} as a valid source file name extension. + +For example, to compile R6RS code, you might want to pass @command{-x +.sls} so that files ending in @file{.sls} can be found. + @item -W @var{warning} @itemx --warn=@var{warning} @cindex warnings, compiler |