Skip to content

Commit 373a0b6

Browse files
authored
Merge pull request #699 from LPCIC/gares-patch-1
Update version_parser.ml
2 parents 0601276 + 6b87912 commit 373a0b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/version_parser.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ let main () =
88
let l =
99
match l with
1010
| l when List.for_all is_number l -> l
11-
| ( [""] | ["%%VERSION_NUM%%"] ) -> ["99";"99";"99"]
11+
| [_] -> ["99";"99";"99"]
1212
| _ -> Printf.eprintf "version_parser: cannot parse: %s\n" v; exit 1 in
1313
let open Format in
1414
printf "(%a)%!" (pp_print_list ~pp_sep:(fun fmt () -> pp_print_string fmt ", ") pp_print_string) l
1515
;;
1616

17-
main ()
17+
main ()

0 commit comments

Comments
 (0)