Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bernd Paysan
gforth
Commits
46b390dd
Commit
46b390dd
authored
Jan 18, 2013
by
Gerald Wodni
Browse files
resolve-included-file-hook added for include-filename manipulation
parent
b0aaa9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/paths.fs
View file @
46b390dd
...
...
@@ -250,8 +250,13 @@ Variable tfile
2
drop
2
drop
2
drop
r
>
THEN
;
defer
resolve
-
included
-
file
-
hook
(
addr1
u1
--
addr2
u2
)
\
gforth
\
G
called
before
opening
an
included
file
,
allows
path
manipulation
'
noop
is
resolve
-
included
-
file
-
hook
:
open
-
fpath
-
file
(
addr1
u1
--
wfileid
addr2
u2
0
|
ior
)
\
gforth
\
G
Look
in
the
Forth
search
path
for
the
file
specified
by
@
var
{
addr1
u1
}.
\
G
If
found
,
the
resulting
path
and
an
open
file
descriptor
\
G
are
returned
.
If
the
file
is
not
found
,
@
var
{
ior
}
is
non
-
zero
.
resolve
-
included
-
file
-
hook
fpath
open
-
path
-
file
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment