Fix vocab: and word name stripping in deployed binaries

db4
Slava Pestov 2009-04-03 10:16:56 -05:00
parent f42c23de9d
commit 535850f3ea
2 changed files with 4 additions and 4 deletions

View File

@ -276,7 +276,6 @@ IN: tools.deploy.shaker
lexer-factory
print-use-hook
root-cache
vocab-roots
vocabs:dictionary
vocabs:load-vocab-hook
word

View File

@ -132,9 +132,7 @@ void init_factor(F_PARAMETERS *p)
userenv[CPU_ENV] = tag_object(from_char_string(FACTOR_CPU_STRING));
userenv[OS_ENV] = tag_object(from_char_string(FACTOR_OS_STRING));
userenv[CELL_SIZE_ENV] = tag_fixnum(sizeof(CELL));
userenv[STACK_TRACES_ENV] = tag_boolean(p->stack_traces);
userenv[EXECUTABLE_ENV] = (p->executable_path ?
tag_object(from_native_string(p->executable_path)) : F);
userenv[EXECUTABLE_ENV] = (p->executable_path ? tag_object(from_native_string(p->executable_path)) : F);
userenv[ARGS_ENV] = F;
userenv[EMBEDDED_ENV] = F;
@ -142,7 +140,10 @@ void init_factor(F_PARAMETERS *p)
gc_off = false;
if(!stage2)
{
userenv[STACK_TRACES_ENV] = tag_boolean(p->stack_traces);
do_stage1_init();
}
}
/* May allocate memory */