History

remove aa_readfp and simplify reading

Sigrid Haflínudóttir committed 6 years ago

Commit a5cbab71 parent 2362b063 files · +22 −39Browse files

Showing the changes to repl.c (1 of 3 files). Show all

Unified · Split

repl.c+1−1
@@ -63,7 +63,7 @@ main(int argc, char **argv) · 62 unmodified lines
6363 Bflush(ctx->fd[2]);
6464 Bflush(ctx->fd[1]);
6565 }
66− if((obj = aa_readfp(ctx, fp)) == nil)
66+ if((obj = aa_read(ctx, fp)) == nil)
6767 break;
6868 obj = aa_eval(ctx, obj);
6969 if(fp->fid == 0)

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