record-file only called after a successful parse

slava 2006-11-30 03:02:42 +00:00
parent 42e58c93fe
commit b77d8b28a4
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,5 @@
+ 0.87: + 0.87:
- macbook mouse tracking is off
- xml: chars>entities got broken
- parse errors should be shown in a popup - parse errors should be shown in a popup
- growable data heap - growable data heap
@ -16,6 +14,7 @@
+ 0.88: + 0.88:
- use crc32 instead of modification date in reload-modules
- models: don't do redundant work - models: don't do redundant work
- menu Command: quots look dumb - menu Command: quots look dumb
- top level window positioning on ms windows - top level window positioning on ms windows

View File

@ -66,8 +66,10 @@ SYMBOL: parse-hook
: parse-file ( file -- quot ) : parse-file ( file -- quot )
[ [
dup parsing-file dup record-file [ parsing-file ] keep
[ ?resource-path <file-reader> ] keep parse-stream [ ?resource-path <file-reader> ] keep
[ parse-stream ] keep
record-file
] [ ] [
over parse-file-restarts condition drop parse-file over parse-file-restarts condition drop parse-file
] recover ; ] recover ;