<div dir="ltr"><div>Hello!</div><div><br></div>It seems the file <span style="font-size:14px">njs/njs_nonrecursive_parser.c is unused.</span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-17 15:29 GMT+08:00 Piotr Sikora <span dir="ltr"><<a href="mailto:piotrsikora@google.com" target="_blank">piotrsikora@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Piotr Sikora <<a href="mailto:piotrsikora@google.com">piotrsikora@google.com</a>><br>
# Date 1476689340 25200<br>
#      Mon Oct 17 00:29:00 2016 -0700<br>
# Node ID 11abc80a5a442b56ee0618834b8851<wbr>0369a765d6<br>
# Parent  8046b999aaaf95980e89a6d0620657<wbr>bc4123342b<br>
Remove duplicate implementation of njs_parser_token().<br>
<br>
Signed-off-by: Piotr Sikora <<a href="mailto:piotrsikora@google.com">piotrsikora@google.com</a>><br>
<br>
diff -r 8046b999aaaf -r 11abc80a5a44 njs/njs_nonrecursive_parser.c<br>
--- a/njs/njs_nonrecursive_parser.<wbr>c<br>
+++ b/njs/njs_nonrecursive_parser.<wbr>c<br>
@@ -116,24 +116,6 @@ njs_nonrecursive_parser(njs_<wbr>vm_t *vm, nj<br>
 }<br>
<br>
<br>
-njs_token_t<br>
-njs_parser_token(njs_parser_t *parser)<br>
-{<br>
-    njs_token_t  token;<br>
-<br>
-    do {<br>
-        token = njs_lexer_token(parser->lexer)<wbr>;<br>
-<br>
-        if (nxt_slow_path(token <= NJS_TOKEN_ILLEGAL)) {<br>
-            return token;<br>
-        }<br>
-<br>
-    } while (nxt_slow_path(token == NJS_TOKEN_LINE_END));<br>
-<br>
-    return token;<br>
-}<br>
-<br>
-<br>
 static void *<br>
 njs_parser_stack_pop(njs_<wbr>parser_t *parser)<br>
 {<br>
<br>
______________________________<wbr>_________________<br>
nginx-devel mailing list<br>
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx-devel</a><br>
</blockquote></div><br></div>