summaryrefslogtreecommitdiffstatshomepage
path: root/stm/lexerstm.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/lexerstm.h')
-rw-r--r--stm/lexerstm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/lexerstm.h b/stm/lexerstm.h
index 99c270a718..7e090898a2 100644
--- a/stm/lexerstm.h
+++ b/stm/lexerstm.h
@@ -1,5 +1,5 @@
typedef struct _py_lexer_str_buf_t {
- MP_BOOL free; // free src_beg when done
+ 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
@@ -12,5 +12,5 @@ typedef struct _py_lexer_file_buf_t {
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, MP_BOOL free_str, mp_lexer_str_buf_t *sb);
+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);