@@ -62,9 +62,11 @@ let convert_attribute_to_function_conditions
6262 | _ ->
6363 begin
6464 log_info
65- " attribute conversion for %s: attribute parameters %s not recognized"
65+ (" attribute conversion for %s: attribute parameters %s not "
66+ ^^ " recognized [%s:%d]" )
6667 name
67- (String. concat " , " (List. map attrparam_to_string attrparams));
68+ (String. concat " , " (List. map attrparam_to_string attrparams))
69+ __FILE__ __LINE__;
6870 ([] , [] )
6971 end ) in
7072
@@ -83,9 +85,11 @@ let convert_attribute_to_function_conditions
8385 | _ ->
8486 begin
8587 log_info
86- " attribute conversion for %s: attribute parameters %s not recognized"
88+ (" attribute conversion for %s: attribute parameters %s not "
89+ ^^ " recognized [%s:%d]" )
8790 name
88- (String. concat " , " (List. map attrparam_to_string attrparams));
91+ (String. concat " , " (List. map attrparam_to_string attrparams))
92+ __FILE__ __LINE__;
8993 []
9094 end ) in
9195 (pre, [] , [] )
@@ -102,9 +106,11 @@ let convert_attribute_to_function_conditions
102106 | _ ->
103107 begin
104108 log_info
105- " attribute conversion for %s: attribute parameters %s not recognized"
109+ (" attribute conversion for %s: attribute parameters %s not "
110+ ^^ " recognized [%s:%d]" )
106111 name
107- (String. concat " , " (List. map attrparam_to_string attrparams));
112+ (String. concat " , " (List. map attrparam_to_string attrparams))
113+ __FILE__ __LINE__;
108114 []
109115 end ) in
110116 ([] , post, [] )
@@ -118,9 +124,10 @@ let convert_attribute_to_function_conditions
118124 begin
119125 log_info
120126 (" attribute conversion for %s: parameter %s not recognized "
121- ^^ " (excluded)" )
127+ ^^ " (excluded) [%s:%d] " )
122128 name
123- (attrparam_to_string attrparam);
129+ (attrparam_to_string attrparam)
130+ __FILE__ __LINE__;
124131 acc
125132 end ) [] attrparams in
126133 (pre, [] , [] )
@@ -137,9 +144,10 @@ let convert_attribute_to_function_conditions
137144 begin
138145 log_info
139146 (" attribute conversion for %s: parameter %s not recognized "
140- ^^ " (excluded)" )
147+ ^^ " (excluded) [%s:%d] " )
141148 name
142- (attrparam_to_string attrparam);
149+ (attrparam_to_string attrparam)
150+ __FILE__ __LINE__;
143151 acc
144152 end ) [] attrparams in
145153 (pre, [] , [] )
@@ -165,9 +173,10 @@ let convert_attribute_to_function_conditions
165173 begin
166174 log_info
167175 (" attribute conversion for %s: parameter %s not recognized "
168- ^^ " (excluded)" )
176+ ^^ " (excluded) [%s:%d] " )
169177 name
170- (attrparam_to_string attrparam);
178+ (attrparam_to_string attrparam)
179+ __FILE__ __LINE__;
171180 acc
172181 end ) [] attrparams in
173182 ([] , [] , se)
@@ -188,8 +197,10 @@ let attribute_update_globalvar_contract
188197 | Attr ("chkc_not_null" , [] ) -> gvarc#set_not_null
189198 | Attr (s , attrparams ) ->
190199 log_info
191- " global variable attribute %s for %s with %d parameters not recognized"
200+ (" global variable attribute %s for %s with %d parameters not "
201+ ^^ " recognized [%s:%d]" )
192202 s
193203 gvarc#get_name
194204 (List. length attrparams)
205+ __FILE__ __LINE__
195206
0 commit comments