b2/: move parts dumping from lang.y to boom.c and make optional (-dc)

This commit is contained in:
Werner Almesberger committed 2012-06-02 05:49:22 -03:00
1 parent 22412764d9
commit f09e4b21fa
2 files changed
+3 -1

No files matched your search

+3
View File
@@ -87,6 +87,9 @@ static void dump(const char *s)
{
while (*s) {
switch (*s) {
case 'c':
parts_dump(stderr);
break;
case 'h':
dump_hierarchy(hierarchy);
break;
-1
View File
@@ -418,7 +418,6 @@ characteristics:
| part characteristics
{
part_finalize($1, &hierarchy);
part_dump(stderr, $1);
}
;