ports/devel/libgraphqlparser/files/patch-parser.ypp
Sunpoet Po-Chuan Hsieh f0508af695 Add libgraphqlparser 0.7.0
libgraphqlparser is a parser for GraphQL, a query language for describing data
requirements on complex application data models, implemented in C++11. It can be
used on its own in C++ code (or in C code via the pure C API defined in the c
subdirectory), or you can use it as the basis for an extension module for your
favorite programming language instead of writing your own parser from scratch.

WWW: https://github.com/graphql/libgraphqlparser
2020-05-03 20:46:12 +00:00

17 lines
357 B
Text

--- parser.ypp.orig 2017-10-16 21:39:41 UTC
+++ parser.ypp
@@ -7,12 +7,12 @@
* of patent rights can be found in the PATENTS file in the same directory.
*/
-%require "3"
+%require "3.0"
%skeleton "lalr1.cc"
%defines
-%define parser_class_name {GraphQLParserImpl}
+%define api.parser.class {GraphQLParserImpl}
%define api.token.prefix {TOK_}