Skip to content
Snippets Groups Projects
Commit d276f635 authored by Damien's avatar Damien
Browse files

Get unix version compling.

parent f086ecf5
Branches
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uin ...@@ -36,7 +36,7 @@ py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uin
sb->src_beg = str; sb->src_beg = str;
sb->src_cur = str; sb->src_cur = str;
sb->src_end = str + len; sb->src_end = str + len;
return py_lexer_new(src_name, sb, (py_lexer_stream_next_char_t)str_buf_next_char, (py_lexer_stream_free_t)str_buf_free); return py_lexer_new(src_name, sb, (py_lexer_stream_next_char_t)str_buf_next_char, (py_lexer_stream_close_t)str_buf_free);
} }
py_lexer_t *py_lexer_new_from_file(const char *filename) { py_lexer_t *py_lexer_new_from_file(const char *filename) {
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
// type definitions for the specific machine // type definitions for the specific machine
#define BYTES_PER_WORD (8)
typedef int64_t machine_int_t; // must be pointer size typedef int64_t machine_int_t; // must be pointer size
typedef uint64_t machine_uint_t; // must be pointer size typedef uint64_t machine_uint_t; // must be pointer size
typedef void *machine_ptr_t; // must be of pointer size typedef void *machine_ptr_t; // must be of pointer size
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment