aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/show-parse.c
diff options
Diffstat (limited to 'show-parse.c')
-rw-r--r--show-parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/show-parse.c b/show-parse.c
index b892c189..5590dae9 100644
--- a/show-parse.c
+++ b/show-parse.c
@@ -408,6 +408,10 @@ out:
prepend(name, "restricted ");
if (fouled)
prepend(name, "fouled ");
+
+ // strip trailing space
+ if (name->end > name->start && name->end[-1] == ' ')
+ name->end--;
}
void show_type(struct symbol *sym)