fjsc: display the proper namespace when using set_in.
parent
363ca60191
commit
7e824af1f6
|
@ -127,9 +127,14 @@ Factor.prototype.using = function(v, next) {
|
||||||
factor.get_word("kernel", "using").execute(next);
|
factor.get_word("kernel", "using").execute(next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var fjsc_repl = false;
|
||||||
|
|
||||||
Factor.prototype.set_in = function(v, next) {
|
Factor.prototype.set_in = function(v, next) {
|
||||||
factor.cont.data_stack.push(v);
|
factor.cont.data_stack.push(v);
|
||||||
factor.get_word("kernel", "set-in").execute(next);
|
factor.get_word("kernel", "set-in").execute(next);
|
||||||
|
if (fjsc_repl) {
|
||||||
|
fjsc_repl.ps = '( ' + v + ' )';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Factor.prototype.get_word = function(vocab,name) {
|
Factor.prototype.get_word = function(vocab,name) {
|
||||||
|
|
Loading…
Reference in New Issue