mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
Added debugging directives to the fped language. They're describe at the end
of README.
- fpd.l, fpd.y, README: added debugging directives %del, %move, %print, %dump,
and %exit
- obj.h, fpd.y (find_obj, find_label, new_obj): objects can now be labeled
- obj.c (obj_anchors), inst.c (inst_anchors): gathering the list of anchors is
now a per-object function, not an instance "method". inst_anchors implements
the vector vs. object switch.
- inst.h, inst.c: removed all *_op_anchors functions
- expr.c (str_unit): in the past, we returned a malloc'ed string, but these
times are long gone. Thus, don't stralloc("").
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5919 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
3
obj.h
3
obj.h
@@ -205,6 +205,7 @@ struct arc {
|
||||
|
||||
struct obj {
|
||||
enum obj_type type;
|
||||
const char *name; /* NULL if anonymous */
|
||||
union {
|
||||
struct frame_ref frame;
|
||||
struct rect rect;
|
||||
@@ -251,6 +252,8 @@ void find_inst(const struct inst *inst);
|
||||
|
||||
void search_inst(const struct inst *inst);
|
||||
|
||||
int obj_anchors(struct obj *obj, struct vec ***anchors);
|
||||
|
||||
int instantiate(void);
|
||||
void obj_cleanup(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user