summaryrefslogtreecommitdiff
path: root/ast_expr.y
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-09-19 01:20:23 +0000
committerMark Spencer <markster@digium.com>2003-09-19 01:20:23 +0000
commitb0500e19450c50257d101701e0935ab90d454874 (patch)
treeec1706266dc862ec5bdb5f6a2012de235c1b0644 /ast_expr.y
parent320a52e5f52981c66c62e54a1fb44de410671a07 (diff)
Code cleanups (bug #66)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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