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
63 Bflush(ctx->fd[2]);63 Bflush(ctx->fd[2]);
64 Bflush(ctx->fd[1]);64 Bflush(ctx->fd[1]);
65 }65 }
66 if((obj = aa_readfp(ctx, fp)) == nil)66 if((obj = aa_read(ctx, fp)) == nil)
67 break;67 break;
68 obj = aa_eval(ctx, obj);68 obj = aa_eval(ctx, obj);
69 if(fp->fid == 0)69 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