mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
- tables no longer try to fill the available space in the variables area
- added string-valued expressions (on-going) - loops, tables, and rows can now be deleted/undeleted (still need columns) git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5397 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
7
expr.c
7
expr.c
@@ -101,6 +101,13 @@ int to_unit(struct num *n)
|
||||
/* ----- primary expressions ----------------------------------------------- */
|
||||
|
||||
|
||||
struct num op_string(const struct expr *self, const struct frame *frame)
|
||||
{
|
||||
fail("cannot evaluate string");
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
||||
struct num op_num(const struct expr *self, const struct frame *frame)
|
||||
{
|
||||
return self->u.num;
|
||||
|
||||
Reference in New Issue
Block a user