From 73d574b71a10d4661ada20275cafde75aff6c1ba Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 12 Sep 2024 13:33:18 +0200 Subject: teco_string_get_coord() returns character offsets now (refs #5) * This is used for error messages (TECO macro stackframes), so it's important to display columns in characters. * Program counters are in bytes and therefore everywhere gsize. This is by glib convention. --- src/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.h') diff --git a/src/parser.h b/src/parser.h index ae2cb9b..fe7f559 100644 --- a/src/parser.h +++ b/src/parser.h @@ -440,7 +440,7 @@ typedef enum { struct teco_machine_main_t { teco_machine_t parent; - gint macro_pc; + gsize macro_pc; /** * Aliases bitfield with an integer. -- cgit v1.2.3