mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
- GUI: added creation and moving of vectors, measurements, and frame references
git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5389 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
13
expr.c
13
expr.c
@@ -384,6 +384,19 @@ fail:
|
||||
}
|
||||
|
||||
|
||||
/* ----- make a number -----------------------------------------------------*/
|
||||
|
||||
|
||||
struct expr *new_num(struct num num)
|
||||
{
|
||||
struct expr *expr;
|
||||
|
||||
expr = new_op(op_num);
|
||||
expr->u.num = num;
|
||||
return expr;
|
||||
}
|
||||
|
||||
|
||||
/* ----- expression-only parser -------------------------------------------- */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user