1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2025-04-21 12:27:27 +03:00

- fpd.y: fixed check for empty part name

- added new-style measurements (experimental)



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5400 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-08-07 13:37:51 +00:00
parent 63b4cb912e
commit d046f9306c
13 changed files with 511 additions and 35 deletions

9
obj.h
View File

@@ -84,6 +84,8 @@ struct loop {
int initialized;
};
struct sample;
struct vec {
const char *name; /* NULL if anonymous */
struct expr *x;
@@ -96,6 +98,9 @@ struct vec {
/* used when editing */
struct frame *frame;
/* samples for measurements */
struct sample *samples;
};
struct frame {
@@ -147,7 +152,7 @@ struct arc {
struct expr *width;
};
struct meas {
struct old_meas {
struct vec *other; /* NULL if frame origin */
struct expr *offset;
};
@@ -160,7 +165,7 @@ struct obj {
struct rect line;
struct pad pad;
struct arc arc;
struct meas meas;
struct old_meas meas;
} u;
struct frame *frame;
struct vec *base;