Use sm_debug for a debug message
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · John Levon
--- smatch_ranges.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)smatch_ranges.c +0
-0
smatch_ranges.c static void str_to_rl_helper(struct expression *call, struct symbol *type, const · line 570
Quoted 8 lines
smatch_ranges.c +1
-1@@ -564,7 +564,7 @@ static void str_to_rl_helper(struct expression *call, struct symbol *type, constbreak ; }if (*c !='-' ) { -sm_msg ("debug XXX: trouble parsing %s c = %s" , str, c); +sm_debug ("XXX: trouble parsing %s c = %s" , str, c);break ; } c++;
Here's all the unique parse failures I hit with our tree, by the way:
../common/topo_xml.c:250 xlate_common() debug XXX: trouble parsing -inf-inf c = inf-inf od.c:174 do_double() debug XXX: trouble parsing -1.797693e+308-1.797693e+308 c = .797693e+308-1.797693e+308 od.c:175 do_ldouble() debug XXX: trouble parsing -1.189731e+4932-1.189731e+4932 c = .189731e+4932-1.189731e+4932
regards
joh n