diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-19 17:54:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-07-19 18:00:19 +0200 |
commit | 887e495c6bdb43ea5fe5ee94d7d38631b5f8c14e (patch) | |
tree | cd97e4d17ad62fd522ac59b1d5c8e489196d050d /doc | |
parent | d677aca5c5e5b3a9f71af57243169904ba4a712c (diff) |
compile: Add '-x' flag.
* module/scripts/compile.scm (%options, compile): Add '-x'.
* doc/ref/api-evaluation.texi (Compilation): Document it.
Diffstat (limited to 'doc')
-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 7a4c8c975..d1e4dbe47 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 |