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

Columns and loops can now be entered in one step as var = val, val, ...

- moved definition of expr_result from expr.c to fpd.y
- new header file fpd.h with all the things fpd.l and fpd.y export
- edit_var already calls edit_nothing, so there's no need to call it before
- added rapid entry option for loops, variables, and columns: var = val, ...



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5459 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner
2009-08-16 04:12:37 +00:00
parent 233fc4b683
commit 64f80e84a2
10 changed files with 249 additions and 26 deletions

8
fpd.l
View File

@@ -19,6 +19,7 @@
#include "expr.h"
#include "error.h"
#include "meas.h"
#include "fpd.h"
#include "y.tab.h"
@@ -41,6 +42,13 @@ void scan_expr(const char *s)
yy_scan_string(s);
}
void scan_var(const char *s)
{
start_token = START_VAR;
yy_scan_string(s);
}
%}