From 624549036ded0c2286efad978c721ab6e53e5fd4 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Thu, 12 Sep 2024 11:05:34 -0700 Subject: [PATCH] Small in-code comment --- sdc/Sdc.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/sdc/Sdc.tcl b/sdc/Sdc.tcl index 5b9bef85..18d3e6fb 100644 --- a/sdc/Sdc.tcl +++ b/sdc/Sdc.tcl @@ -421,6 +421,7 @@ proc filter_objs { filter objects filter_function object_type } { set filtered_objects [filter_objs $expr1 $objects $filter_function $object_type] set filtered_objects [filter_objs $expr2 $filtered_objects $filter_function $object_type] } elseif { [regexp $filter_regexp1 $filter ignore attr_name ignore op arg] } { + # If no op/arg, use ==1 by default. set op [expr {($op == "") ? "==" : $op}] set arg [expr {($arg == "") ? "1" : $arg}] set filtered_objects [$filter_function $attr_name $op $arg $objects]