diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-01-07 09:49:42 -0800 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-01-08 00:29:44 -0800 |
commit | 9b7b947b015d733586a7de6159d533cbdb01ac18 (patch) | |
tree | e0ba05410d421322ade0faf8c31cecd80e746c17 /stm/lexerstm.h | |
parent | 6d6bc9efc17c0fd4f28f935280db6d8dee100d4f (diff) | |
download | micropython-9b7b947b015d733586a7de6159d533cbdb01ac18.tar.gz micropython-9b7b947b015d733586a7de6159d533cbdb01ac18.zip |
Updated teensy to use common code from stm directory.
Updated mconfigport.h to enable GC
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); |