We don't need it anymore.
---
src/compiler/fpvm.c | 23 -----------------------
src/compiler/fpvm.h | 3 ---
2 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/src/compiler/fpvm.c b/src/compiler/fpvm.c
index fa1187d..7cb2272 100644
--- a/src/compiler/fpvm.c
+++ b/src/compiler/fpvm.c
@@ -44,29 +44,6 @@ void fpvm_init(struct fpvm_fragment *fragment, int
vector_mode)
}
-int fpvm_assign(struct fpvm_fragment *fragment, const char *dest,
- const char *expr)
-{
- struct parser_comm comm;
- const char *error;
- int res;
-
- error = fpvm_parse(expr, TOK_START_EXPR, &comm);
- if(error) {
- snprintf(fragment->last_error, FPVM_MAXERRLEN, "%s", error);
- free((void *) error);
- return 0;
- }
-
- dest = unique(dest);
-
- res = fpvm_do_assign(fragment, dest, comm.u.parseout);
- fpvm_parse_free(comm.u.parseout);
-
- return res;
-}
-
-
static const char *assign_default(struct parser_comm *comm,
const char *label, struct ast_node *node)
{
diff --git a/src/compiler/fpvm.h b/src/compiler/fpvm.h
index 8a5aa5f..cfee613 100644
--- a/src/compiler/fpvm.h
+++ b/src/compiler/fpvm.h
@@ -29,9 +29,6 @@
void fpvm_init(struct fpvm_fragment *fragment, int vector_mode);
-int fpvm_assign(struct fpvm_fragment *fragment, const char *dest,
- const char *expr);
-
int fpvm_chunk(struct fpvm_fragment *fragment, const char *chunk);
#endif /* __FPVM_H */
--
1.7.1
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode