mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-24 23:58:47 +00:00
Fixed reference to sysargs
This commit is contained in:
parent
7ccd5cd7d5
commit
250f714bd0
1 changed files with 1 additions and 1 deletions
|
|
@ -1048,7 +1048,7 @@ class env cmd imports =
|
|||
method nlocals = scope.nlocals
|
||||
|
||||
method get_decls =
|
||||
let opt_label = function true -> label | _ -> fun x -> "global_" ^ x in
|
||||
let opt_label = function true -> label | _ -> fun x -> "_global_" ^ x in
|
||||
List.flatten
|
||||
@@ List.map (function
|
||||
| name, `Extern, f -> [ EXTERN (opt_label f name) ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue