Skip to content

Commit 7f13439

Browse files
committed
FIX: evaluate --do boot argument
Resolves: Oldes/Rebol-issues#2467
1 parent 4d711d8 commit 7f13439

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mezz/sys-start.reb

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ start: func [
8383
script-args: args ; save for below
8484
foreach [opt act] [
8585
;args [parse args ""]
86-
do-arg block!
86+
do-arg string!
8787
debug block!
8888
secure word!
8989
import [to-rebol-file import]
@@ -182,7 +182,7 @@ start: func [
182182

183183
;-- Evaluate: --do "some code" if found
184184
if do-arg [
185-
do intern do-arg
185+
do intern load/all do-arg
186186
unless script [quit/now]
187187
]
188188

0 commit comments

Comments
 (0)