summaryrefslogtreecommitdiff
path: root/py/lexerstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-25 13:51:19 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-25 13:51:19 +0000
commitb829b5caecd1ba4fbc30e03978776d2c868dd67b (patch)
treeb3135377105920ff382d7c7ebc2117655b4d00da /py/lexerstr.c
parente0722ee9d94c0e812a474e349ded5147f6b869f6 (diff)
Implement mp_parse_node_free; print properly repr(string).
Diffstat (limited to 'py/lexerstr.c')
-rw-r--r--py/lexerstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/lexerstr.c b/py/lexerstr.c
index 1e105d864..d53a47d0c 100644
--- a/py/lexerstr.c
+++ b/py/lexerstr.c
@@ -28,7 +28,7 @@ static void str_buf_free(mp_lexer_str_buf_t *sb) {
m_del_obj(mp_lexer_str_buf_t, sb);
}
-mp_lexer_t *mp_lexer_new_from_str_len(const char *src_name, const char *str, uint len, uint free_len) {
+mp_lexer_t *mp_lexer_new_from_str_len(qstr src_name, const char *str, uint len, uint free_len) {
mp_lexer_str_buf_t *sb = m_new_obj(mp_lexer_str_buf_t);
sb->free_len = free_len;
sb->src_beg = str;