summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/lexerfrozen.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/lexerfrozen.c')
-rw-r--r--teensy/lexerfrozen.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/teensy/lexerfrozen.c b/teensy/lexerfrozen.c
new file mode 100644
index 0000000000..03ef800876
--- /dev/null
+++ b/teensy/lexerfrozen.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+#include "py/lexer.h"
+
+mp_import_stat_t mp_import_stat(const char *path) {
+ return MP_IMPORT_STAT_NO_EXIST;
+}
+
+mp_lexer_t *mp_lexer_new_from_file(const char *filename) {
+ return NULL;
+}