Skip to content

Commit 6e0de91

Browse files
committed
C#: Update DB scheme for logical assignments and expressions (and some other minor changes).
1 parent 8479063 commit 6e0de91

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

csharp/ql/lib/semmlecode.csharp.dbscheme

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,10 +1263,10 @@ case @expr.kind of
12631263
@un_arith_operation = @plus_expr | @minus_expr | @mut_operation;
12641264
@arith_operation = @bin_arith_operation | @un_arith_operation;
12651265

1266-
@ternary_log_op_expr = @conditional_expr;
1267-
@bin_log_op_expr = @log_and_expr | @log_or_expr | @null_coalescing_expr;
1268-
@un_log_op_expr = @log_not_expr;
1269-
@log_expr = @un_log_op_expr | @bin_log_op_expr | @ternary_log_op_expr;
1266+
@ternary_log_operation = @conditional_expr;
1267+
@bin_log_operation = @log_and_expr | @log_or_expr | @null_coalescing_operation;
1268+
@un_log_operation = @log_not_expr;
1269+
@log_operation = @un_log_operation | @bin_log_operation | @ternary_log_operation;
12701270

12711271
@bin_bit_expr = @bit_and_expr | @bit_or_expr | @bit_xor_expr | @lshift_expr
12721272
| @rshift_expr | @urshift_expr;
@@ -1281,11 +1281,11 @@ case @expr.kind of
12811281
@rel_op_expr = @gt_expr | @lt_expr| @ge_expr | @le_expr;
12821282
@comp_expr = @equality_op_expr | @rel_op_expr;
12831283

1284-
@operation_expr = @un_operation | @bin_operation | @ternary_op;
1284+
@operation_expr = @un_operation | @bin_operation | @ternary_operation;
12851285

1286-
@ternary_op = @ternary_log_op_expr;
1287-
@bin_operation = @assign_expr | @bin_arith_operation | @bin_log_op_expr | @bin_bit_operation | @comp_expr;
1288-
@un_operation = @un_arith_operation | @un_log_op_expr | @un_bit_operation | @sizeof_expr
1286+
@ternary_operation = @ternary_log_operation;
1287+
@bin_operation = @assign_expr | @bin_arith_operation | @bin_log_operation | @bin_bit_operation | @comp_expr;
1288+
@un_operation = @un_arith_operation | @un_log_operation | @un_bit_operation | @sizeof_expr
12891289
| @pointer_indirection_expr | @address_of_expr;
12901290

12911291
@anonymous_function_expr = @lambda_expr | @anonymous_method_expr;

0 commit comments

Comments
 (0)