#include <njs_variable.h>
#include <njs_parser.h>
#include <string.h>
+#include <stdio.h>
static nxt_int_t njs_generator(njs_vm_t *vm, njs_parser_t *parser,
if (node->dest != NULL) {
dest_index = node->dest->index;
- if (dest_index != lvalue->left->index
+ if (dest_index != NJS_INDEX_NONE
+ && dest_index != lvalue->left->index
&& dest_index != lvalue->right->index)
{
node->index = dest_index;
{ nxt_string("[[]+[]]-[]+[[]-[]]"),
nxt_string("00") },
+ { nxt_string("!--[][1]"),
+ nxt_string("true") },
+
{ nxt_string("'true' == true"),
nxt_string("false") },