Refactor vectors a bit
diff --git a/src/lex.c b/src/lex.c
index 2ed1875..2797663 100644
--- a/src/lex.c
+++ b/src/lex.c
@@ -72,7 +72,7 @@
bc_vec_npop(&l->t.v, l->t.v.len);
if ((s = bc_vec_expand(&l->t.v, len + 1))) return s;
- if ((s = bc_vec_push(&l->t.v, 1, &start))) return s;
+ if ((s = bc_vec_push(&l->t.v, &start))) return s;
buf -= 1;
hits = 0;
@@ -89,7 +89,7 @@
continue;
}
- if ((s = bc_vec_push(&l->t.v, 1, &c))) return s;
+ if ((s = bc_vec_push(&l->t.v, &c))) return s;
}
if ((s = bc_vec_pushByte(&l->t.v, '\0'))) return s;