changeset 490:1c3220ed87a8

Fix missing hex sigil in symbol dump
author William Astle <lost@l-w.ca>
date Fri, 03 May 2019 21:48:01 -0600
parents 52af0aa54fe5
children a83d1cdeeb61
files lwasm/symdump.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/symdump.c	Fri May 03 20:06:17 2019 -0600
+++ b/lwasm/symdump.c	Fri May 03 21:48:01 2019 -0600
@@ -102,7 +102,7 @@
 		
 		if (lw_expr_istype(te, lw_expr_type_int))
 		{
-			fprintf(of, " %04X\n", lw_expr_intval(te));
+			fprintf(of, " $%04X\n", lw_expr_intval(te));
 		}
 		else
 		{