@@ -253,12 +253,13 @@ let f t x =
253253 try {var val$ 0 = caml_call2(Stdlib_Hashtbl [6 ], t, x);}
254254 catch(_f_){
255255 var _c_ = caml_wrap_exception(_f_);
256- if (_c_ === Stdlib [8 ]) return - 1 ;
256+ if (Object. is( _c_, Stdlib [8 ]) ) return - 1 ;
257257 throw caml_maybe_attach_backtrace(_c_, 0 );
258258 }
259259 if (val$ 0 && ! val$ 0 [2 ]){
260260 var x$ 1 = val$ 0 [1 ], x$ 0 = x$ 1 ;
261261 for (;;){
262+ <<<<<<< HEAD
262263 a :
263264 {
264265 try {var val = caml_call2(Stdlib_Hashtbl [6 ], t, x$ 0 );}
@@ -268,6 +269,17 @@ let f t x =
268269 var _d_ = 0 ;
269270 break a;
270271 }
272+ =======
273+ var switch$ 0 = 0 ;
274+ try {var val = caml_call2(Stdlib_Hashtbl [6 ], t, x$ 0 ); switch$ 0 = 1 ;}
275+ catch(_e_){
276+ var _a_ = caml_wrap_exception(_e_);
277+ if (! Object. is(_a_, Stdlib [3 ])) throw caml_maybe_attach_backtrace(_a_, 0 );
278+ var _d_ = 0 ;
279+ }
280+ if (switch$ 0 ){
281+ var switch$ 1 = 0 ;
282+ >>>>>>> c650ced771 (promote)
271283 if (val && ! val[2 ]){
272284 var y = val[1 ], _b_ = y === (x$ 0 + 1 | 0 ) ? 1 : 0 ;
273285 if (_b_){var _d_ = _b_; break a;}
@@ -525,6 +537,79 @@ let add_substitute =
525537 caml_call2(add_char, b, previous$ 0 );
526538 var i$ 8 = i$ 4 + 1 | 0 , previous = previous$ 0 , i$ 4 = i$ 8 ;
527539 }
540+ <<<<<<< HEAD
541+ =======
542+ if (92 === previous){
543+ caml_call2(add_char, b, previous$ 0 );
544+ var i$ 5 = i$ 4 + 1 | 0 , previous = 32 , i$ 4 = i$ 5 ;
545+ continue;
546+ }
547+ var start$ 0 = i$ 4 + 1 | 0 ;
548+ if (lim$ 1 < = start$ 0 ) throw caml_maybe_attach_backtrace(Stdlib [8 ], 1 );
549+ var opening = caml_string_get(s, start$ 0 ), switch$ 0 = 0 ;
550+ if (40 != = opening && 123 != = opening){
551+ var start = start$ 0 + 1 | 0 , lim$ 0 = caml_ml_string_length(s), i$ 2 = start;
552+ for (;;){
553+ if (lim$ 0 < = i$ 2 )
554+ var stop$ 0 = lim$ 0 ;
555+ else {
556+ var match = caml_string_get(s, i$ 2 ), switch$ 1 = 0 ;
557+ if (91 < = match ){
558+ if (97 < = match ){
559+ if (123 > match ) switch$ 1 = 1 ;
560+ }
561+ else if (95 === match ) switch$ 1 = 1 ;
562+ }
563+ else if (58 < = match ){
564+ if (65 < = match ) switch$ 1 = 1 ;
565+ }
566+ else if (48 < = match ) switch$ 1 = 1 ;
567+ if (switch$ 1 ){var i$ 3 = i$ 2 + 1 | 0 , i$ 2 = i$ 3 ; continue;}
568+ var stop$ 0 = i$ 2 ;
569+ }
570+ var
571+ match $ 0 =
572+ [0 ,
573+ caml_call3(Stdlib_String [15 ], s, start$ 0 , stop$ 0 - start$ 0 | 0 ),
574+ stop$ 0 ];
575+ switch$ 0 = 1 ;
576+ break;
577+ }
578+ }
579+ if (! switch$ 0 ){
580+ var new_start = start$ 0 + 1 | 0 , k$ 2 = 0 ;
581+ if (40 === opening)
582+ var closing = 41 ;
583+ else {
584+ if (123 != = opening)
585+ throw caml_maybe_attach_backtrace([0 , Assert_failure , _a_], 1 );
586+ var closing = 125 ;
587+ }
588+ var lim = caml_ml_string_length(s), k = k$ 2 , stop = new_start;
589+ for (;;){
590+ if (lim < = stop) throw caml_maybe_attach_backtrace(Stdlib [8 ], 1 );
591+ if (Object. is(caml_string_get(s, stop), opening)){
592+ var i = stop + 1 | 0 , k$ 0 = k + 1 | 0 , k = k$ 0 , stop = i;
593+ continue;
594+ }
595+ if (! Object. is(caml_string_get(s, stop), closing)){var i$ 1 = stop + 1 | 0 , stop = i$ 1 ; continue;}
596+ if (0 != = k){
597+ var i$ 0 = stop + 1 | 0 , k$ 1 = k - 1 | 0 , k = k$ 1 , stop = i$ 0 ;
598+ continue;
599+ }
600+ var
601+ match $ 0 =
602+ [0 ,
603+ caml_call3
604+ (Stdlib_String [15 ], s, new_start, (stop - start$ 0 | 0 ) - 1 | 0 ),
605+ stop + 1 | 0 ];
606+ break;
607+ }
608+ }
609+ var next_i = match $ 0 [2 ], ident = match $ 0 [1 ];
610+ caml_call2(add_string, b, caml_call1(f, ident));
611+ var previous = 32 , i$ 4 = next_i;
612+ >>>>>>> c650ced771 (promote)
528613 }
529614 }
530615 // end | }]
0 commit comments