mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 14:04:39 +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;
|
||||
|
||||
T:<comp> {
|
||||
R: { R:#R TOL:%R };
|
||||
C: { C:#F TOL:%C };
|
||||
L: { L:#H TOL:%L };
|
||||
T=<comp> {
|
||||
R: { R=#R TOL=%R };
|
||||
C: { C=#F TOL=%C };
|
||||
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) {
|
||||
fprintf(file, " {");
|
||||
for (field = act->fields; field; field = field->next) {
|
||||
fprintf(file, " %s:", field->name);
|
||||
fprintf(file, " %s=", field->name);
|
||||
dump_field_decl(file, field);
|
||||
}
|
||||
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 condition *cond;
|
||||
|
||||
fprintf(file, "%*s%s:", level*INDENT, "", field->name);
|
||||
fprintf(file, "%*s%s=", level*INDENT, "", field->name);
|
||||
dump_field_decl(file, field);
|
||||
|
||||
fprintf(file, " {\n");
|
||||
|
Loading…
Reference in New Issue
Block a user