version 1.3, 2003/03/09 15:16:56
|
version 1.5, 2003/08/25 14:17:47
|
Line 1
|
Line 1
|
\ VI tags support for GNU Forth. |
\ VI tags support for GNU Forth. |
|
|
\ Copyright (C) 1995,1998,2002 Free Software Foundation, Inc. |
\ Copyright (C) 1995,1998,2002,2003 Free Software Foundation, Inc. |
|
|
\ This file is part of Gforth. |
\ This file is part of Gforth. |
|
|
Line 91 create tags-line 128 chars allot
|
Line 91 create tags-line 128 chars allot
|
\ if the input is from a file and it is not a local name |
\ if the input is from a file and it is not a local name |
source-id dup 0<> swap -1 <> and \ input from a file |
source-id dup 0<> swap -1 <> and \ input from a file |
current @ locals-list <> and \ not a local name |
current @ locals-list <> and \ not a local name |
last @ 0<> and \ not an anonymous (i.e. noname) header |
latest 0<> and \ not an anonymous (i.e. noname) header |
if |
if |
tags-file-id >r |
tags-file-id >r |
last @ name>string r@ write-file throw |
latest name>string r@ write-file throw |
#tab r@ emit-file throw |
#tab r@ emit-file throw |
r@ put-load-file-name |
r@ put-load-file-name |
s" /^" r@ write-file throw |
s" /^" r@ write-file throw |