summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-03-08 17:11:23 +0200
committerJari Vetoniemi <mailroxas@gmail.com>2018-03-08 17:11:23 +0200
commit66269ee9b063d866a50924702a2d236d33af9c8e (patch)
tree0f485ba8c666b87d31ff1b75901c088cf92073dd /src
parent37bb42f928ca0788180c694ca64775124371c8fb (diff)
parser.rl: Add some TODO's
Diffstat (limited to 'src')
-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 {