Commit 054d8e95 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Add some missing trailing spaces in error strings

parent dec8a963
...@@ -68,17 +68,17 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs) ...@@ -68,17 +68,17 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs)
(*plhs)->tags = vbit_init(SLT__MAX); (*plhs)->tags = vbit_init(SLT__MAX);
i = VSL_List2Tags(vxp->t->dec, -1, vsl_vbm_bitset, (*plhs)->tags); i = VSL_List2Tags(vxp->t->dec, -1, vsl_vbm_bitset, (*plhs)->tags);
if (i == -1) { if (i == -1) {
VSB_printf(vxp->sb, "Taglist matches zero tags"); VSB_printf(vxp->sb, "Taglist matches zero tags ");
vxp_ErrWhere(vxp, vxp->t, -1); vxp_ErrWhere(vxp, vxp->t, -1);
return; return;
} }
if (i == -2) { if (i == -2) {
VSB_printf(vxp->sb, "Taglist is ambiguous"); VSB_printf(vxp->sb, "Taglist is ambiguous ");
vxp_ErrWhere(vxp, vxp->t, -1); vxp_ErrWhere(vxp, vxp->t, -1);
return; return;
} }
if (i == -3) { if (i == -3) {
VSB_printf(vxp->sb, "Syntax error in taglist"); VSB_printf(vxp->sb, "Syntax error in taglist ");
vxp_ErrWhere(vxp, vxp->t, -1); vxp_ErrWhere(vxp, vxp->t, -1);
return; return;
} }
...@@ -112,7 +112,7 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs) ...@@ -112,7 +112,7 @@ vxp_expr_lhs(struct vxp *vxp, struct vex_lhs **plhs)
} }
(*plhs)->field = (int)strtol(vxp->t->dec, &p, 0); (*plhs)->field = (int)strtol(vxp->t->dec, &p, 0);
if (*p || (*plhs)->field <= 0) { if (*p || (*plhs)->field <= 0) {
VSB_printf(vxp->sb, "Expected positive integer"); VSB_printf(vxp->sb, "Expected positive integer ");
vxp_ErrWhere(vxp, vxp->t, -1); vxp_ErrWhere(vxp, vxp->t, -1);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment