@@ -11292,6 +11292,44 @@ function token(lexbuf) {
1129211292 };
1129311293}
1129411294
11295+ function __ocaml_lex_quoted_string_rec(delim, lexbuf, ___ocaml_lex_state) {
11296+ while(true) {
11297+ var __ocaml_lex_state = ___ocaml_lex_state;
11298+ var __ocaml_lex_state$1 = Lexing.engine(__ocaml_lex_tables, __ocaml_lex_state, lexbuf);
11299+ switch (__ocaml_lex_state$1) {
11300+ case 0 :
11301+ update_loc(lexbuf, undefined, 1, false, 0);
11302+ store_string(Lexing.lexeme(lexbuf));
11303+ ___ocaml_lex_state = 183;
11304+ continue ;
11305+ case 1 :
11306+ is_in_string.contents = false;
11307+ throw [
11308+ $$Error$2,
11309+ /* Unterminated_string */0,
11310+ string_start_loc.contents
11311+ ];
11312+ case 2 :
11313+ var edelim = Lexing.lexeme(lexbuf);
11314+ var edelim$1 = $$String.sub(edelim, 1, edelim.length - 2 | 0);
11315+ if (delim === edelim$1) {
11316+ return ;
11317+ }
11318+ store_string(Lexing.lexeme(lexbuf));
11319+ ___ocaml_lex_state = 183;
11320+ continue ;
11321+ case 3 :
11322+ store_string_char(Lexing.lexeme_char(lexbuf, 0));
11323+ ___ocaml_lex_state = 183;
11324+ continue ;
11325+ default:
11326+ Curry._1(lexbuf.refill_buff, lexbuf);
11327+ ___ocaml_lex_state = __ocaml_lex_state$1;
11328+ continue ;
11329+ }
11330+ };
11331+ }
11332+
1129511333function string(lexbuf) {
1129611334 lexbuf.lex_mem = Caml_array.caml_make_vect(2, -1);
1129711335 var ___ocaml_lex_state = 164;
@@ -11348,42 +11386,8 @@ function string(lexbuf) {
1134811386 };
1134911387}
1135011388
11351- function __ocaml_lex_quoted_string_rec(delim, lexbuf, ___ocaml_lex_state) {
11352- while(true) {
11353- var __ocaml_lex_state = ___ocaml_lex_state;
11354- var __ocaml_lex_state$1 = Lexing.engine(__ocaml_lex_tables, __ocaml_lex_state, lexbuf);
11355- switch (__ocaml_lex_state$1) {
11356- case 0 :
11357- update_loc(lexbuf, undefined, 1, false, 0);
11358- store_string(Lexing.lexeme(lexbuf));
11359- ___ocaml_lex_state = 183;
11360- continue ;
11361- case 1 :
11362- is_in_string.contents = false;
11363- throw [
11364- $$Error$2,
11365- /* Unterminated_string */0,
11366- string_start_loc.contents
11367- ];
11368- case 2 :
11369- var edelim = Lexing.lexeme(lexbuf);
11370- var edelim$1 = $$String.sub(edelim, 1, edelim.length - 2 | 0);
11371- if (delim === edelim$1) {
11372- return ;
11373- }
11374- store_string(Lexing.lexeme(lexbuf));
11375- ___ocaml_lex_state = 183;
11376- continue ;
11377- case 3 :
11378- store_string_char(Lexing.lexeme_char(lexbuf, 0));
11379- ___ocaml_lex_state = 183;
11380- continue ;
11381- default:
11382- Curry._1(lexbuf.refill_buff, lexbuf);
11383- ___ocaml_lex_state = __ocaml_lex_state$1;
11384- continue ;
11385- }
11386- };
11389+ function comment(lexbuf) {
11390+ return __ocaml_lex_comment_rec(lexbuf, 132);
1138711391}
1138811392
1138911393function __ocaml_lex_comment_rec(lexbuf, ___ocaml_lex_state) {
@@ -11560,10 +11564,6 @@ function __ocaml_lex_comment_rec(lexbuf, ___ocaml_lex_state) {
1156011564 };
1156111565}
1156211566
11563- function comment(lexbuf) {
11564- return __ocaml_lex_comment_rec(lexbuf, 132);
11565- }
11566-
1156711567function at_bol(lexbuf) {
1156811568 var pos = lexbuf.lex_start_p;
1156911569 return pos.pos_cnum === pos.pos_bol;
0 commit comments