Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f140ac5

Browse files
Fix mismatched declaration of yyerror function.
1 parent 04e91f1 commit f140ac5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎projectm-eval/Compiler.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ int prjm_eval_parse (prjm_eval_compiler_context_t* cctx, yyscan_t scanner);
147147
int yylex(YYSTYPE* yylval_param, YYLTYPE* yylloc_param, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner)
148148
YY_DECL;
149149

150-
int yyerror(YYLTYPE* yyllocp, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner, const char* message);
150+
void yyerror(YYLTYPE* yyllocp, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner, const char* message);
151151

152152

153153
#endif /* !YY_PRJM_EVAL_COMPILER_H_INCLUDED */

‎projectm-eval/Compiler.y‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef void* yyscan_t;
3030
int yylex(YYSTYPE* yylval_param, YYLTYPE* yylloc_param, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner)
3131
YY_DECL;
3232

33-
int yyerror(YYLTYPE* yyllocp, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner, const char* message);
33+
void yyerror(YYLTYPE* yyllocp, prjm_eval_compiler_context_t* cctx, yyscan_t yyscanner, const char* message);
3434
}
3535

3636
/* Token declarations */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /