]> git.kaiwu.me - njs.git/commit
Parser: correctly fixing closing brace unwinding for invalid syntax.
authorAlexander Borisov <alexander.borisov@nginx.com>
Sat, 6 Jun 2020 15:15:07 +0000 (18:15 +0300)
committerAlexander Borisov <alexander.borisov@nginx.com>
Sat, 6 Jun 2020 15:15:07 +0000 (18:15 +0300)
commitf053a9b2ce596931de7e21ca90859ff343a71f2e
treedc683af6da8377bd2512ba7c29d6370f4e186f8a
parent1e1a74d45fcd5c8bbfd0bdef596802574f173d8e
Parser: correctly fixing closing brace unwinding for invalid syntax.

The issue was introduced in 86f55a7dc4a4.

Previous attempts to catch unprocessed token in ea1754b79e7a and 61dce54ce3d5
were misplaced.
src/njs_parser.c
src/test/njs_unit_test.c