mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
Remove some extra commented out code.
This commit is contained in:
parent
11cd1279d7
commit
bf4dd0da99
@ -192,16 +192,6 @@ static JanetSlot janetc_varset(JanetFopts opts, int32_t argn, const Janet *argv)
|
||||
return janetc_cslot(janet_wrap_nil());
|
||||
}
|
||||
return janetc_sym_lvalue(opts, janet_unwrap_symbol(head), argv[1]);
|
||||
/*dest = janetc_resolve(opts.compiler, janet_unwrap_symbol(head));*/
|
||||
/*if (!(dest.flags & JANET_SLOT_MUTABLE)) {*/
|
||||
/*janetc_cerror(opts.compiler, "cannot set constant");*/
|
||||
/*return janetc_cslot(janet_wrap_nil());*/
|
||||
/*}*/
|
||||
/*subopts.flags = JANET_FOPTS_HINT;*/
|
||||
/*subopts.hint = dest;*/
|
||||
/*ret = janetc_value(subopts, argv[1]);*/
|
||||
/*janetc_copy(opts.compiler, dest, ret);*/
|
||||
/*return ret;*/
|
||||
}
|
||||
|
||||
/* Add attributes to a global def or var table */
|
||||
|
Loading…
Reference in New Issue
Block a user