]> git.kaiwu.me - njs.git/commit
Fixed parsing of for-in loops.
authorVadim Zhestikov <v.zhestikov@f5.com>
Sat, 27 May 2023 02:43:24 +0000 (19:43 -0700)
committerVadim Zhestikov <v.zhestikov@f5.com>
Sat, 27 May 2023 02:43:24 +0000 (19:43 -0700)
commitb9c1533fa97c3088c082239744b23de5029f28cd
treefc896a1d01c4751463029330de53b59f467c5726
parent859c9a12c3fc3824190403d9eb6ea54690cdccc2
Fixed parsing of for-in loops.

This fixes parsing for input like: for (a(b * in d) ;

The issue was introduced in 283ae119d121 (0.7.9).
src/njs_parser.c
src/test/njs_unit_test.c