Skip to content

Commit 148ecb7

Browse files
authored
Update etc/version_parser.ml
1 parent 2e75f4e commit 148ecb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/version_parser.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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+
| ( [""] | ["%%VERSION_NUM%%"] ) -> ["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

0 commit comments

Comments
 (0)