History

display: simplify

Sigrid Haflínudóttir committed 6 years ago

Commit 74d07fc1 parent 703193f1 file · +2 −5Browse files

Unified · Split

aa.c+2−5
@@ -832,11 +832,8 @@ eval(aaContext *ctx, aaObject *obj, aaObject *env, aaObject **newenv) · 831 unmodified lines
832832 break;
833833
834834 case P_DISPLAY:
835− while(!ISNIL(arg)){
836− Bprint(&ctx->fd[1], "%ß", evalarg());
837− if(!ISNIL(arg))
838− Bputc(&ctx->fd[1], ' ');
839− }
835+ while(!ISNIL(arg))
836+ Bprint(&ctx->fd[1], "%ß%c", evalarg(), ISNIL(arg) ? 0 : ' ');
840837 break;
841838
842839 case P_EQN: numcmpop(==); break;

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