mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-30 02:03:45 +02:00
b2/: syntax change: use = for instead of : for format declarations
This commit is contained in:
parent
6bb8b03ef8
commit
75479a894b
@ -1,7 +1,7 @@
|
|||||||
<comp> = R<C<L;
|
<comp> = R<C<L;
|
||||||
|
|
||||||
T:<comp> {
|
T=<comp> {
|
||||||
R: { R:#R TOL:%R };
|
R: { R=#R TOL=%R };
|
||||||
C: { C:#F TOL:%C };
|
C: { C=#F TOL=%C };
|
||||||
L: { L:#H TOL:%L };
|
L: { L=#H TOL=%L };
|
||||||
}
|
}
|
||||||
|
4
b2/chr.c
4
b2/chr.c
@ -130,7 +130,7 @@ static void dump_action(FILE *file, const struct action *act, int level)
|
|||||||
if (act->fields) {
|
if (act->fields) {
|
||||||
fprintf(file, " {");
|
fprintf(file, " {");
|
||||||
for (field = act->fields; field; field = field->next) {
|
for (field = act->fields; field; field = field->next) {
|
||||||
fprintf(file, " %s:", field->name);
|
fprintf(file, " %s=", field->name);
|
||||||
dump_field_decl(file, field);
|
dump_field_decl(file, field);
|
||||||
}
|
}
|
||||||
fprintf(file, " }\n");
|
fprintf(file, " }\n");
|
||||||
@ -146,7 +146,7 @@ static void dump_one_field(FILE *file, const struct field *field, int level)
|
|||||||
const struct selector *sel;
|
const struct selector *sel;
|
||||||
const struct condition *cond;
|
const struct condition *cond;
|
||||||
|
|
||||||
fprintf(file, "%*s%s:", level*INDENT, "", field->name);
|
fprintf(file, "%*s%s=", level*INDENT, "", field->name);
|
||||||
dump_field_decl(file, field);
|
dump_field_decl(file, field);
|
||||||
|
|
||||||
fprintf(file, " {\n");
|
fprintf(file, " {\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user