Skip to content

Commit 0788fee

Browse files
committed
remove ignore in res_scanner
1 parent 7b601f2 commit 0788fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/syntax/src/res_scanner.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ let scan_number scanner =
257257
8)
258258
| _ -> 10
259259
in
260-
ignore (scan_digits scanner ~base);
260+
let _found_digits = scan_digits scanner ~base in
261261

262262
(* *)
263263
let is_float =
264264
if '.' == scanner.ch then (
265265
next scanner;
266-
ignore (scan_digits scanner ~base);
266+
let _found_digits = scan_digits scanner ~base in
267267
true)
268268
else false
269269
in

0 commit comments

Comments
 (0)