mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-27 00:58:47 +00:00
Changed topname to _main instead of main
This commit is contained in:
parent
87a489e2e3
commit
f4b9aa1eb9
2 changed files with 5 additions and 3 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