New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error: unknown type name 'yyscan_t' #5
Comments
I read some posts describing a workaround for this issue. Apparently the bison parser doesn't know what Here's a diff of a change I made to get the compile working: diff --git a/json_parser.y b/json_parser.y
index 1f78ef4..9029a10 100644
--- a/json_parser.y
+++ b/json_parser.y
@@ -27,8 +27,8 @@ extern void yyerror(yyscan_t, const char *);
%defines
%error-verbose
%pure-parser
-%parse-param {yyscan_t scanner}
-%lex-param {yyscan_t scanner}
+%parse-param {void *scanner}
+%lex-param {void *scanner}
%token TSTRING
%token TNUMBER |
This circular dependency can also be fixed by adding below code in parser.y file |
@naushada |
Please clone this
https://github.com/naushada/jsonParser.git
look at parser.y file
Thanking You,
Naushad
…On Thu, Mar 7, 2019 at 9:43 AM Christopher Hopper ***@***.***> wrote:
@naushada <https://github.com/naushada>
Can you supply a pull request with a working fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALp0D4zgv8LpxAnzaKA2b53jzVJXrymtks5vUJHPgaJpZM4KPb3Z>
.
|
clone this link Please look at parser.y file. |
I'm trying to compile and install jsonval and get this error repeated twice:
Complete output:
Here's my environment details:
Can you provide any guidance? Perhaps some documentation on compile requirements would help.
The text was updated successfully, but these errors were encountered: