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
832 break;832 break;
833 833
834 case P_DISPLAY:834 case P_DISPLAY:
835 while(!ISNIL(arg)){835 while(!ISNIL(arg))
836 Bprint(&ctx->fd[1], "%ß", evalarg());836 Bprint(&ctx->fd[1], "%ß%c", evalarg(), ISNIL(arg) ? 0 : ' ');
837 if(!ISNIL(arg))
838 Bputc(&ctx->fd[1], ' ');
839 }
840 break;837 break;
841 838
842 case P_EQN: numcmpop(==); break;839 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