aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr.y
diff options
context:
space:
mode:
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-xast_expr.y7
1 files changed, 5 insertions, 2 deletions
diff --git a/ast_expr.y b/ast_expr.y
index 2b9209797..8652dac1b 100755
--- a/ast_expr.y
+++ b/ast_expr.y
@@ -79,18 +79,21 @@ static struct val *op_times __P((struct val *, struct val *));
static quad_t to_integer __P((struct val *));
static void to_string __P((struct val *));
static int ast_yyerror __P((const char *));
-static int ast_yylex __P(());
%}
%pure-parser
/* %name-prefix="ast_yy" */
-
%union
{
struct val *val;
}
+%{
+static int ast_yylex __P((YYSTYPE *, struct parser_control *));
+%}
+
+
%left <val> '|'
%left <val> '&'
%left <val> '=' '>' '<' GE LE NE