Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
1960d203
Commit
1960d203
authored
Jan 27, 2010
by
Ondrej Filip
Browse files
Priority for '||' and '&&' fixed.
parent
7515dafc
Changes
2
Hide whitespace changes
Inline
Side-by-side
conf/confbase.Y
View file @
1960d203
...
...
@@ -60,8 +60,9 @@ CF_DECLS
%type <t> text_or_none
%nonassoc PREFIX_DUMMY
%left AND OR
%nonassoc '=' '<' '>' '~' '.' GEQ LEQ NEQ PO PC
%left '+' '-'
AND OR
%left '+' '-'
%left '*' '/' '%'
%left '!'
...
...
filter/test.conf
View file @
1960d203
...
...
@@ -149,7 +149,7 @@ string s;
is
= [
2
,
3
,
4
,
7
..
11
];
print
" must be true: "
,
1
.
2
.
0
.
0
/
16
~ [
1
.
0
.
0
.
0
/
8
{
15
,
17
} ];
print
" data types; must be true: "
,
1
.
2
.
3
.
4
=
1
.
2
.
3
.
4
,
","
,
1
~ [
1
,
2
,
3
],
","
,
5
~ [
1
..
20
],
","
,
10
~
is
,
","
,
2
~ [
1
,
2
,
3
],
","
,
5
~ [
4
..
7
],
","
,
1
.
2
.
3
.
4
~ [
1
.
2
.
3
.
3
..
1
.
2
.
3
.
5
],
","
,
1
.
2
.
3
.
4
~
1
.
0
.
0
.
0
/
8
,
","
,
1
.
0
.
0
.
0
/
8
~
1
.
0
.
0
.
0
/
8
,
","
,
1
.
0
.
0
.
0
/
8
~ [
1
.
0
.
0
.
0
/
8
+ ];
print
" must be true: "
,
true
&&
true
,
","
,
true
||
false
,
","
,
true
||
false
||
false
;
print
" must be true: "
,
true
&&
true
,
","
,
true
||
false
,
","
,
!
false
&& !
false
&&
true
,
","
,
1
<
2
&&
1
!=
3
;
# print " must be true: ", defined(1), ",", defined(1.2.3.4), ",", 1 != 2, ",", 1 <= 2;
print
" data types: must be false: "
,
1
~ [
2
,
3
,
4
],
","
,
5
~
is
,
","
,
1
.
2
.
3
.
4
~ [
1
.
2
.
3
.
3
,
1
.
2
.
3
.
5
],
","
, (
1
,
2
) > (
2
,
2
),
","
, (
1
,
1
) > (
1
,
1
),
","
,
1
.
0
.
0
.
0
/
9
~ [
1
.
0
.
0
.
0
/
8
- ],
","
,
1
.
2
.
0
.
0
/
17
~ [
1
.
0
.
0
.
0
/
8
{
15
,
16
} ],
","
,
true
&&
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment