1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-07-02 23:42:55 +03:00

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

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

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;

View File

@ -418,7 +418,6 @@ characteristics:
| part characteristics
{
part_finalize($1, &hierarchy);
part_dump(stderr, $1);
}
;