From 114cb4e21cc412a92231a512b15cb0597e0695f2 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 18 Jan 2018 06:06:33 -0500 Subject: [PATCH] Pulley: declare yylex - fixes a compiler warning about undeclared yylex --- src/pulley/pulleyscript/pulley.yacc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pulley/pulleyscript/pulley.yacc b/src/pulley/pulleyscript/pulley.yacc index effb442..0d0da2c 100644 --- a/src/pulley/pulleyscript/pulley.yacc +++ b/src/pulley/pulleyscript/pulley.yacc @@ -25,7 +25,7 @@ %{ -// int yylex (YYSTYPE *yylval_param, yyscan_t yyscanner); +int yylex (YYSTYPE *yylval_param, yyscan_t yyscanner); void yyerror (struct parser *,char *); #define YYLEX_PARAM &yylval, prs->lexer -- 1.7.10.4