summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/escpos/parser.rl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/escpos/parser.rl b/src/escpos/parser.rl
index 015c690..7cf828f 100644
--- a/src/escpos/parser.rl
+++ b/src/escpos/parser.rl
@@ -82,8 +82,8 @@ render_chr(struct escpos_canvas *canvas, struct cursor *cursor, const struct ras
static void
apply_canvas(struct escpos_canvas *dst, struct cursor *dst_cursor, struct escpos_canvas *src, struct cursor *src_cursor)
{
- // According to epson docs, the justification is applied after print buffer is applied
- // Thus we should apply justification here, need const struct *raster as input.
+ // TODO: According to epson docs, the justification is applied after print buffer is applied
+ // Thus we should apply justification here, need const struct *raster as input.
assert(dst && dst_cursor && src && src_cursor);
const size_t off = dst->w * dst_cursor->y + dst_cursor->x;
assert(off + src->w * src_cursor->wy <= dst->w * dst->h);
@@ -217,7 +217,7 @@ cut(const struct escpos_parser *parser, struct escpos_canvas *canvas, struct cur
action barcode_str {
fprintf(stderr, "barcode-str %s\n", (char*)stack_get_str(&stack)->data);
- // XXX: raster barcode
+ // TODO: raster barcode
}
action syntax_err {