summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-07-21 08:12:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-07-21 08:12:05 -0700
commit9f87e50086eb4a240e8c879484db0b216897ef03 (patch)
tree6f72132b97653522c824faaebbb804c5225eb6b8 /txr.1
parentdd385954ec30b2dbdb8fe4dd6c7a5907cf752faa (diff)
downloadtxr-9f87e50086eb4a240e8c879484db0b216897ef03.tar.gz
txr-9f87e50086eb4a240e8c879484db0b216897ef03.tar.bz2
txr-9f87e50086eb4a240e8c879484db0b216897ef03.zip
compiler: try unsuffixed path before adding .tl
* stdlib/compiler.tl (open-compile-streams): If the in-path is unsuffixed, try opening it without adding any suffix first. If that fails, then try .tl in that order. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.18
1 files changed, 4 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index b90aade3..6d7aaab1 100644
--- a/txr.1
+++ b/txr.1
@@ -86002,12 +86002,12 @@ or
.code .txr
then it is considered suffixed, otherwise it is considered unsuffixed.
If it is suffixed, then the actual pathname is the same as the tentative pathname.
-In the unsuffixed case, two possible actual input pathnames are formed. First,
+In the unsuffixed case, two possible actual input pathnames are considered.
+First, if the unsuffixed path refers to a file that can be opened, then that
+unsuffixed path is taken as actual path. Otherwise,
the suffix
.code .tl
-is added to the tentative pathname. If that path exists, it is taken
-taken as the actual path. Otherwise, the unmodified tentative path
-is taken as the actual input path.
+is added to the tentative pathname, and that becomes the actual path.
If the actual path ends in the suffix
.code .txr