mirror of
https://github.com/Ed94/WATL_Exercise.git
synced 2025-08-04 22:32:43 -07:00
fixes
This commit is contained in:
@@ -1682,6 +1682,9 @@ api_watl_lex :: proc(info: ^WATL_LexInfo, source: string,
|
||||
prev = src_cursor[-1:]
|
||||
code = src_cursor[0]
|
||||
}
|
||||
assert(tok != nil)
|
||||
assert(num > 0)
|
||||
info.toks = transmute([]string) slice(cursor(tok)[- num + 1:], num)
|
||||
return
|
||||
slice_constraint_fail :: proc(info: ^WATL_LexInfo, ainfo_msgs: AllocatorInfo, tok: ^Raw_String, msg_last: ^^WATL_LexMsg) {
|
||||
info.signal |= { .MemFail_SliceConstraintFail }
|
||||
|
@@ -97,7 +97,7 @@ main :: proc() {
|
||||
path_root := get_working_dir()
|
||||
path_build := join_path(path_root, "build")
|
||||
path_odin_src := join_path(path_root, "Odin")
|
||||
file_source := join_path(path_odin_src, "watl.v0.odin")
|
||||
file_source := join_path(path_odin_src, "watl.v0.win32.odin")
|
||||
file_exe := join_path(path_build, "watl.v0.exe")
|
||||
|
||||
res, errs := build(path_build, {
|
||||
|
Reference in New Issue
Block a user