diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-08 15:08:08 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-08 15:08:08 +0000 |
commit | dc141db64de467b6982ec6d7edad3fcf62b994ab (patch) | |
tree | 7031340f4c70e1319b1c78b31adca329fa1f4bc3 /stm/lexerstm.h | |
parent | b97669ab9432146c1303dedfaa7b98f7ede3f8db (diff) | |
parent | e6b6af515449e67d5d3648818a191f3420d6f519 (diff) | |
download | micropython-dc141db64de467b6982ec6d7edad3fcf62b994ab.tar.gz micropython-dc141db64de467b6982ec6d7edad3fcf62b994ab.zip |
Merge branch 'master' of github.com:dpgeorge/micropython
Diffstat (limited to 'stm/lexerstm.h')
-rw-r--r-- | stm/lexerstm.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/stm/lexerstm.h b/stm/lexerstm.h deleted file mode 100644 index 7e090898a2..0000000000 --- a/stm/lexerstm.h +++ /dev/null @@ -1,16 +0,0 @@ -typedef struct _py_lexer_str_buf_t { - bool free; // free src_beg when done - const char *src_beg; // beginning of source - const char *src_cur; // current location in source - const char *src_end; // end (exclusive) of source -} mp_lexer_str_buf_t; - -typedef struct _py_lexer_file_buf_t { - FIL fp; - char buf[20]; - uint16_t len; - uint16_t pos; -} mp_lexer_file_buf_t; - -mp_lexer_t *mp_lexer_new_from_str_len(const char *src_name, const char *str, uint len, bool free_str, mp_lexer_str_buf_t *sb); -mp_lexer_t *mp_lexer_new_from_file(const char *filename, mp_lexer_file_buf_t *fb); |