diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 04:27:49 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-25 04:27:49 -0800 |
commit | 1eb5c9800789e0f6b14c84656b12418bd86e0786 (patch) | |
tree | 1a1bff8fe449f1f20d151c9574cf88b3cc0b0daf /txr.1 | |
parent | 267a20b4c57f13ccbf89e54469c8dcb5ad09b631 (diff) | |
download | txr-1eb5c9800789e0f6b14c84656b12418bd86e0786.tar.gz txr-1eb5c9800789e0f6b14c84656b12418bd86e0786.tar.bz2 txr-1eb5c9800789e0f6b14c84656b12418bd86e0786.zip |
* parser.l (source_loc_str): Missing function re-written.
(Accidentally originally written in lex.yy.c file!)
(parse_reset): If file can't be opened, try adding .txr suffix
to it.
* txr.1: Suffix-handling behavior documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3837,6 +3837,11 @@ source file from which the @(load) form was read. If there was no such source file (for instance, the script was read from standard input), then it is resolved relative to the current working directory. +If the file cannot be opened, then the .txr suffix is added and another +attempt is made. Thus load expressions need not refer to the suffix. +In the future, additional suffixes may be searched (compiled versions +of a file). + Loading is performed at evaluation time; it is not a source file inclusion mechanism. A TXR script is read from beginning to end and parsed prior to being evaluated. |