nytl: quick fix
This commit is contained in:
parent
0f84548f78
commit
7a1bfd81f3
@ -300,10 +300,10 @@ namespace nytl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uptr<RFrame> RFrame_OverArray::toMe(bool returned, RFrame_passed) {
|
uptr<RFrame> RFrame_OverArray::toMe(bool returned, RFrame_passed) {
|
||||||
if (returned && part.line_feed)
|
|
||||||
append("\n", result);
|
|
||||||
if (it >= arr.size())
|
if (it >= arr.size())
|
||||||
return NULL;
|
return NULL;
|
||||||
|
if (returned && part.line_feed)
|
||||||
|
append("\n", result);
|
||||||
if (part.where_key_var > -1) {
|
if (part.where_key_var > -1) {
|
||||||
additional_json_wrapper.asInteger() = json::Integer((int64_t)it);
|
additional_json_wrapper.asInteger() = json::Integer((int64_t)it);
|
||||||
saved_args_plus_iter[part.where_key_var] = {true, "", &additional_json_wrapper};
|
saved_args_plus_iter[part.where_key_var] = {true, "", &additional_json_wrapper};
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
{% ELDEF cmain JSON cba %}
|
|
||||||
AAA
|
AAA
|
||||||
{% FOR _:val IN cba %}
|
{% FOR _:val IN cba %}
|
||||||
TUTUTUTUTUTUTUTUN {% PUT jesccomp val %}
|
TUTUTUTUTUTUTUTUN {% PUT jesccomp val %}
|
||||||
{% ENDFOR %}
|
{% ENDFOR %}
|
||||||
AAA
|
|
||||||
{% FOR val IN cba[cba.k] %}
|
|
||||||
--> {% WRITE val %}
|
|
||||||
{% ENDFOR %}
|
|
||||||
AAA {% WRITE cba[cba.k][cba.i] %} AAA
|
|
||||||
|
|
||||||
{% ENDELDEF %}
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
{% ELDEF main JSON cba %}
|
{% ELDEF main JSON cba %}
|
||||||
{% WRITE cba[cba.k][cba.i] %}
|
AAA
|
||||||
|
{% FOR val IN cba.arr %}
|
||||||
|
--> {% WRITE val %}
|
||||||
|
{% ENDFOR %}
|
||||||
|
AAA
|
||||||
|
|
||||||
{% ENDELDEF %}
|
{% ENDELDEF %}
|
Loading…
Reference in New Issue
Block a user