trailing newlines

This commit is contained in:
dzaima 2021-07-20 22:18:37 +03:00
parent d4d4521e52
commit 7ee8d642dc
7 changed files with 10 additions and 11 deletions

2
cc.bqn
View File

@ -47,7 +47,7 @@ RT ← {
CArg {J (¯5𝕩˙) FLines "c.bqn"} CArg {J (¯5𝕩˙) FLines "c.bqn"}
SVG {"Modify←GetHighlights←⊢⋄" FChars".bqn"¨ "../svg"𝕩} SVG {"Modify←GetHighlights←⊢⋄" FChars".bqn"¨ "../svg"𝕩}
•Out(¬return) ("r""r0""r1""c""cc""f""e""p") (@+10)˜ •Out(¬return) ("r""r0""r1""c""cc""f""e""p")
RT2, RT0, RT1 RT2, RT0, RT1
{𝕩LFC CArg "⟨""⟩"«","¨'"'(˜)¨glyphs} {𝕩LFC CArg "⟨""⟩"«","¨'"'(˜)¨glyphs}
{𝕩LFC "{""}"˜CArg"𝕩"} {𝕩LFC "{""}"˜CArg"𝕩"}

View File

@ -209,4 +209,4 @@ B withFill(B x, B fill) { // consumes both
for (usz i = 0; i < ia; i++) a[i] = xget(x,i); for (usz i = 0; i < ia; i++) a[i] = xget(x,i);
dec(x); dec(x);
return taga(r); return taga(r);
} }

View File

@ -586,4 +586,3 @@ NOINLINE void printAllocStats() {
return x; return x;
} }
#endif #endif

View File

@ -476,4 +476,4 @@ ASMI(POP , Reg O) { nREX4(O,0); ASM1(0x58+((O)&7)); }
ASMI(CALL, Reg i) { nREX4(i,0); ASM1(0xFF); nA_REG(i,2); } ASMI(CALL, Reg i) { nREX4(i,0); ASM1(0xFF); nA_REG(i,2); }
ASMI(CALLi, u64 pos) { ASM1(0xE8); if (pos>I32_MAX)err("immediate call outside of 32-bit range!"); ASM4(pos-4); } ASMI(CALLi, u64 pos) { ASM1(0xE8); if (pos>I32_MAX)err("immediate call outside of 32-bit range!"); ASM4(pos-4); }
#define IMM(A,B) MOVi(A,(u64)(B)) #define IMM(A,B) MOVi(A,(u64)(B))

View File

@ -18,4 +18,4 @@ static B nfn_objU(B t) {
} }
static i32 nfn_data(B t) { static i32 nfn_data(B t) {
return c(NFn,t)->data; return c(NFn,t)->data;
} }

View File

@ -166,4 +166,4 @@ static inline B arith_recd(BBB2B f, B w, B x) {
static inline B arith_recd(BBB2B f, B w, B x) { static inline B arith_recd(BBB2B f, B w, B x) {
return eachd_fn(f, bi_N, w, x); return eachd_fn(f, bi_N, w, x);
} }
#endif #endif

View File

@ -569,11 +569,11 @@ B evalBC(Block* bl, Body* b, Scope* sc) { // doesn't consume
} }
case DFND: { case DFND: {
GS_UPD;POS_UPD; GS_UPD;POS_UPD;
Block* bl = blocks[*bc++]; Block* cbl = blocks[*bc++];
switch(bl->ty) { default: UD; switch(cbl->ty) { default: UD;
case 0: ADD(m_funBlock(bl, sc)); break; case 0: ADD(m_funBlock(cbl, sc)); break;
case 1: ADD(m_md1Block(bl, sc)); break; case 1: ADD(m_md1Block(cbl, sc)); break;
case 2: ADD(m_md2Block(bl, sc)); break; case 2: ADD(m_md2Block(cbl, sc)); break;
} }
break; break;
} }