diff leo-obj/tool/disasm.c @ 151:6fe08feee018

tiobjd disasm -g: line break after function locals
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 01 May 2014 00:23:18 +0000
parents df01a4f4c272
children fcf1ef773a57
line wrap: on
line diff
--- a/leo-obj/tool/disasm.c	Tue Apr 29 07:51:28 2014 +0000
+++ b/leo-obj/tool/disasm.c	Thu May 01 00:23:18 2014 +0000
@@ -98,7 +98,8 @@
 	if (sym->class == C_FCN && !strcmp(sym->name, ".bf")) {
 		printf("; Begin function\n");
 		if (disasm_richsym)
-			richsym_function_locals(sym);
+			if (richsym_function_locals(sym))
+				putchar('\n');
 		return;
 	}
 	switch (sym->class) {