summaryrefslogtreecommitdiff
path: root/platform/elf/main.c
diff options
context:
space:
mode:
author0x221e2026-06-22 13:17:53 +0300
committer0x221e2026-06-22 13:17:53 +0300
commit45f4a6afd2a5683fa53f9d6787e3c5b0f70229fd (patch)
tree9ef79b753cd8132d0bbe90f19674ecfc987bb733 /platform/elf/main.c
parent8a77b4096d9f61b6b6eaefb4c8c8abe7f4793b73 (diff)
update TODO
Diffstat (limited to 'platform/elf/main.c')
-rw-r--r--platform/elf/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/elf/main.c b/platform/elf/main.c
index 7dba99a..9c4bbd8 100644
--- a/platform/elf/main.c
+++ b/platform/elf/main.c
@@ -25,8 +25,9 @@ int main(int argc, char **argv)
}
struct lex lex = {0};
- lex.line = 0;
+ lex.line = 1;
lex.buffer = fl.buffer;
+ lex.filepath = fl.path;
lex.size = fl.size;
lex.pos = 0;