SHA: 5c17dad400e45c5a442a63f250fff2638d144682
URL: https://github.com/nodejs/http-parser
Commit Date: 2019/04/16

git clone https://github.com/nodejs/http-parser.git /tmp/http-parser
cp -r /tmp/http-parser .
rm -f .gitignore .mailmap .travis.yml

diff --git a/src/third_party/http-parser/http_parser.h b/src/third_party/http-parser/http_parser.h
index 16b5281d..657d011f 100644
--- a/src/third_party/http-parser/http_parser.h
+++ b/src/third_party/http-parser/http_parser.h
@@ -156,6 +156,9 @@ enum http_status
 #define XX(num, name, string) HTTP_STATUS_##name = num,
   HTTP_STATUS_MAP(XX)
 #undef XX
+  /* @cond IGNORE */
+  HTTP_STATUS_MAP_LAST_ENTRY
+  /* @endcond */
   };


@@ -209,6 +212,9 @@ enum http_method
 #define XX(num, name, string) HTTP_##name = num,
   HTTP_METHOD_MAP(XX)
 #undef XX
+  /* @cond IGNORE */
+  HTTP_METHOD_MAP_LAST_ENTRY
+  /* @endcond */
   };


@@ -282,6 +288,9 @@ enum flags
 #define HTTP_ERRNO_GEN(n, s) HPE_##n,
 enum http_errno {
   HTTP_ERRNO_MAP(HTTP_ERRNO_GEN)
+  /* @cond IGNORE */
+  HTTP_ERRNO_MAP_LAST_ENTRY
+  /* @endcond */
 };
 #undef HTTP_ERRNO_GEN

Copyright Joyent, Inc. and other Node contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
