[REBOL] Re: Core 2.6 - Last minute requests - take your chance!
From: sunandadh:aol at: 5-Apr-2002 14:21
Holger:
> Syntax errors are trappable. With your example, an "error? try []"
> around it returns true
thanks for the quick response. You guys seem to be on the case with the bug
fixing.
But there's an additional problem with _this_ syntax error:
REBOL/Core 2.5.0.3.1
Copyright 1997-2001 REBOL Technologies
REBOL is a Trademark of REBOL Technologies
All rights reserved.
errobj: disarm try [
AnObject: make object! [datafield: 1]
AnotherObject: make object! AnObject
]
probe errobj
result:
REBOL caused an invalid page fault in
module REBOL.EXE at 0167:0040e072.
Registers:
EAX=00000030 CS=0167 EIP=0040e072 EFLGS=00010246
EBX=00000000 SS=016f ESP=0067fae4 EBP=0067fb50
ECX=0040e062 DS=016f ESI=00729a50 FS=3c2f
EDX=00729a50 ES=016f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 48 08 8b 40 0c 8b 71 08 8b 78 08 75 0c 6a 64
Stack dump:
00000000 00729a50 006c0654 0040d9d6 00729a50 00000000 00000000 00000000
004112d3 00729a50 00000000 00000000 006920e4 0072007c 00405059 006c0654
This syntax error is not trappable in the usual way!
Sunanda.