~grimmware/lc3

7f63c80067b2e36c054a5bf8c03001009978fe21 — glenda 1 year, 2 months ago 3d5d8a6
Fixed up output to only show on debug
1 files changed, 2 insertions(+), 1 deletions(-)

M asm.c
M asm.c => asm.c +2 -1
@@ 99,7 99,8 @@ gettoken(char **t, char *l)
	*t = realloc(*t, sizeof(*t) * (len + 1));
	**t = 0;
	strncat(*t, l, len);
	print("%d:TOKEN:%s\n", lineno, *t);
	if(debug)
		print("%d:TOKEN:%s\n", lineno, *t);
	return len;
}