mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-26 16:48:46 +00:00
Made compiler working on Linux too
This commit is contained in:
parent
468caac0f2
commit
85b838ea2b
10 changed files with 188 additions and 128 deletions
|
|
@ -143,7 +143,7 @@ class options args =
|
|||
Filename.chop_suffix (Filename.basename self#get_infile) ".lama"
|
||||
|
||||
method topname =
|
||||
match !mode with `Compile -> "init" ^ self#basename | _ -> "_main"
|
||||
match !mode with `Compile -> "init" ^ self#basename | _ -> "main"
|
||||
|
||||
method dump_file ext contents =
|
||||
let name = self#basename in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue