From e22d82dbcad32a4a2e3a20248c398330beab77ee Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 12 Jul 2020 19:17:20 +0200 Subject: [PATCH] :art: Naming --- src/compile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/compile.c b/src/compile.c index 6aca68ba..b4faf42f 100644 --- a/src/compile.c +++ b/src/compile.c @@ -144,12 +144,12 @@ ANN m_uint compile_filename(struct Gwion_* gwion, const m_str filename) { return compile(gwion, &c); } -ANN m_uint compile_string(struct Gwion_* vm, const m_str filename, const m_str data) { +ANN m_uint compile_string(struct Gwion_* gwion, const m_str filename, const m_str data) { struct Compiler c = { .base=filename, .type=COMPILE_MSTR, .data=data }; - return compile(vm, &c); + return compile(gwion, &c); } -ANN m_uint compile_file(struct Gwion_* vm, const m_str filename, FILE* file) { +ANN m_uint compile_file(struct Gwion_* gwion, const m_str filename, FILE* file) { struct Compiler c = { .base=filename, .type=COMPILE_FILE, .file=file }; - return compile(vm, &c); + return compile(gwion, &c); } -- 2.43.0