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:
9
obj.h
9
obj.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user