dtsod dollar list bug fixed
This commit is contained in:
parent
3d941e0688
commit
588453a2b7
@ -320,6 +320,9 @@ Maybe __deserialize(char** _text, bool _calledRecursively) {
|
||||
Unitype lu;
|
||||
if(Hashtable_tryGet(dict,nameCPtr, &lu)){
|
||||
list=(Autoarr(Unitype)*)lu.VoidPtr;
|
||||
// Key is not used in that case, because it is already added
|
||||
// to the table with the first dollar list item.
|
||||
free(nameCPtr);
|
||||
}
|
||||
else{
|
||||
list=Autoarr_create(Unitype,ARR_BC,ARR_BL);
|
||||
|
||||
@ -12,7 +12,11 @@ const char text[]=
|
||||
" text: \"_$\\\"\\\\'''a ыыы000;2;=:%d;```\";\n"
|
||||
" list: [10,20,30,0,0 ];"
|
||||
"};"
|
||||
"h: { };";
|
||||
"h: { };"
|
||||
"$dollar_list_single: { smth: \"-_-\"; };"
|
||||
"$dollar_list_many: { i: 0; };"
|
||||
"$dollar_list_many: { i: 1; };"
|
||||
"$dollar_list_many: { i: 2; };";
|
||||
|
||||
void print_dtsod(Hashtable* dtsod){
|
||||
kprintf("\e[92m");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user