Pulley: declare yylex
authorAdriaan de Groot <groot@kde.org>
Thu, 18 Jan 2018 11:06:33 +0000 (06:06 -0500)
committerAdriaan de Groot <groot@kde.org>
Thu, 18 Jan 2018 11:10:58 +0000 (06:10 -0500)
 - fixes a compiler warning about undeclared yylex

src/pulley/pulleyscript/pulley.yacc

index effb442..0d0da2c 100644 (file)
@@ -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