projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter: Implement rshift, lshift, bit not operators
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
filter
/
filter-parser.y
diff --git
a/src/lib/lttng-ctl/filter/filter-parser.y
b/src/lib/lttng-ctl/filter/filter-parser.y
index 7c4aebe8db3807ed4a2034bbccd95da625e0544d..2fa41ab405259d9eec1533ff47793a5d54cc3a26 100644
(file)
--- a/
src/lib/lttng-ctl/filter/filter-parser.y
+++ b/
src/lib/lttng-ctl/filter/filter-parser.y
@@
-588,11
+588,11
@@
shift_expression
{ $$ = $1; }
| shift_expression LEFT_OP additive_expression
{
{ $$ = $1; }
| shift_expression LEFT_OP additive_expression
{
- $$ = make_op_node(parser_ctx, AST_OP_LSHIFT, $1, $3);
+ $$ = make_op_node(parser_ctx, AST_OP_
BIT_
LSHIFT, $1, $3);
}
| shift_expression RIGHT_OP additive_expression
{
}
| shift_expression RIGHT_OP additive_expression
{
- $$ = make_op_node(parser_ctx, AST_OP_RSHIFT, $1, $3);
+ $$ = make_op_node(parser_ctx, AST_OP_
BIT_
RSHIFT, $1, $3);
}
;
}
;
This page took
0.02402 seconds
and
4
git commands to generate.