Skip to content

Commit

Permalink
runtime: fix requires
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Oct 13, 2024
1 parent 4b2c764 commit c28fa6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/lexing.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function caml_lex_array(s) {
}

//Provides: caml_lex_engine
//Requires: caml_failwith, caml_lex_array, caml_uint8_array_of_bytes
//Requires: caml_failwith, caml_lex_array
//Requires: caml_bytes_unsafe_get
function caml_lex_engine(tbl, start_state, lexbuf) {
var lex_buffer = 2;
Expand Down Expand Up @@ -106,7 +106,7 @@ function caml_lex_engine(tbl, start_state, lexbuf) {

//Provides: caml_new_lex_engine
//Requires: caml_failwith, caml_lex_array
//Requires: caml_jsbytes_of_string, caml_uint8_array_of_bytes
//Requires: caml_jsbytes_of_string
//Requires: caml_bytes_unsafe_get
function caml_lex_run_mem(s, i, mem, curr_pos) {
for (;;) {
Expand Down
1 change: 0 additions & 1 deletion runtime/mlBytes.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ function caml_uint8_array_of_bytes(s) {
}

//Provides: caml_uint8_array_of_string mutable
//Requires: caml_convert_bytes_to_array
//Requires: caml_ml_string_length, caml_string_unsafe_get
function caml_uint8_array_of_string(s) {
var l = caml_ml_string_length(s);
Expand Down

0 comments on commit c28fa6e

Please sign in to comment.