From 66269ee9b063d866a50924702a2d236d33af9c8e Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Thu, 8 Mar 2018 17:11:23 +0200 Subject: parser.rl: Add some TODO's --- src/escpos/parser.rl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/escpos') 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 { -- cgit v1.2.3