File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -287,12 +287,21 @@ impl Executor {
287
287
_ => {
288
288
if parentheses == 0 && brackets == 0 && !hash {
289
289
if escape {
290
+ <<<<<<< HEAD
290
291
match c {
291
292
'n' => buffer. push_str( "\\ n" ) ,
292
293
't' => buffer. push_str( "\\ t" ) ,
293
294
'r' => buffer. push_str( "\\ r" ) ,
294
295
_ => buffer. push ( c ) ,
295
296
}
297
+ =======
298
+ buffer. push( match c {
299
+ 'n' => '\n' ,
300
+ 't' => '\t' ,
301
+ 'r' => '\r' ,
302
+ _ => c,
303
+ } )
304
+ >>>>>>> e0ee7bf ( Add string escape)
296
305
} else {
297
306
buffer. push( c) ;
298
307
}
@@ -374,12 +383,21 @@ impl Executor {
374
383
_ => {
375
384
if parentheses == 0 && brackets == 0 && !hash {
376
385
if escape {
386
+ <<<<<<< HEAD
377
387
match c {
378
388
'n' => buffer. push_str( "\\ n" ) ,
379
389
't' => buffer. push_str( "\\ t" ) ,
380
390
'r' => buffer. push_str( "\\ r" ) ,
381
391
_ => buffer. push ( c ) ,
382
392
}
393
+ =======
394
+ buffer. push( match c {
395
+ 'n' => '\n' ,
396
+ 't' => '\t' ,
397
+ 'r' => '\r' ,
398
+ _ => c,
399
+ } )
400
+ >>>>>>> e0ee7bf ( Add string escape)
383
401
} else {
384
402
buffer. push( c) ;
385
403
}
You can’t perform that action at this time.
0 commit comments