History

indentation fix

Sigrid Solveig Haflínudóttir committed 2 months ago

Commit e85fcbf1 parent 3c79e5e3 files · +9 −9Browse files

Unified · Split

3 files
  1. src/ios.c +3 −3
  2. src/read.c +5 −5
  3. src/vm_funcs.c +1 −1
src/ios.c+3−3
@@ -697,9 +697,9 @@ ios_pipe(ios *s, ios_flags flags, int *otherside) · 696 unmodified lines
697697 s->bm = IOS_BUF_NONE;
698698 *otherside = fd[1];
699699 if((flags & IOS_READ) == 0)
700− s->flags |= IOS_FL_RDONLY;
701− else if((flags & IOS_WRITE) == 0)
702− s->flags |= IOS_FL_WRONLY;
700+ s->flags |= IOS_FL_RDONLY;
701+ else if((flags & IOS_WRITE) == 0)
702+ s->flags |= IOS_FL_WRONLY;
703703 return s;
704704 }
705705
src/read.c+5−5
@@ -277,7 +277,7 @@ again: · 276 unmodified lines
277277 return RS->toktype;
278278 }
279279
280− if(c == '(')
280+ if(c == '(')
281281 RS->toktype = TOK_OPEN;
282282 else if(c == ')')
283283 RS->toktype = TOK_CLOSE;
@@ -302,7 +302,7 @@ again: · 18 unmodified lines
302302 do{
303303 ch = ios_getc(IO);
304304 }while(ch != IOS_EOF && ch != '\n');
305− goto again;
305+ goto again;
306306 }else if(c == '#'){
307307 if(terminator())
308308 cthrow(parse_error("unexpected terminator"), dummy);
@@ -373,7 +373,7 @@ again: · 64 unmodified lines
373373 do{
374374 ch = ios_getc(IO);
375375 }while(ch != IOS_EOF && ch != '\n');
376− goto again;
376+ goto again;
377377 }else if(sl_unlikely(c == '|')){
378378 // multiline comment
379379 int commentlevel = 1;
@@ -398,11 +398,11 @@ again: · 18 unmodified lines
398398 goto hashpipe_gotc;
399399 }
400400 }
401− goto again;
401+ goto again;
402402 }else if(sl_unlikely(c == ';')){
403403 // datum comment
404404 (void)do_read_sexpr(sl_unbound); // skip
405− goto again;
405+ goto again;
406406 }else if(sl_unlikely(c == ':')){
407407 // gensym
408408 if(terminator())
src/vm_funcs.c+1−1
@@ -541,7 +541,7 @@ MAKE_OP(ARGC) · 540 unmodified lines
541541
542542 MAKE_OP(ARGCL)
543543 {
544− n = GET_S32(ip);
544+ n = GET_S32(ip);
545545 ip += 4;
546546 if(sl_unlikely(nargs != n)){
547547 ENTER;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t