aa4f427591
The definition was suggested by Daniel Bunzli. It considers that ".", "..", ".foo" all have an empty extension. This commit also fixes chop_extension to align with this definition and adds remove_extension which behaves as chop_extension but does not fail when the extension is empty. There used to be a Misc.chop_extension_if_any in the compiler code base. The commit also replaces it with the new Filename.remove_extension. |
||
---|---|---|
.. | ||
doligez | ||
frisch | ||
garrigue |