mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-30 02:28:27 +00:00
Fixed chop-suffix
This commit is contained in:
parent
e5c5f914bd
commit
98804770e6
5 changed files with 20 additions and 4 deletions
|
|
@ -108,7 +108,7 @@ class options args =
|
|||
| Some name -> name
|
||||
method get_help = !help
|
||||
method get_include_paths = !paths
|
||||
method basename = Filename.chop_suffix (Filename.basename self#get_infile) ".expr"
|
||||
method basename = Filename.chop_suffix (Filename.basename self#get_infile) ".lama"
|
||||
method topname =
|
||||
match !mode with
|
||||
| `Compile -> "init" ^ self#basename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue