diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-15 13:46:38 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-15 13:46:38 -0300 |
| commit | 09f3c2372f5dbeaec9f50614a26c1b5761726a88 (patch) | |
| tree | 83469dd02dba1c59ead0eb0cba3a35bd39ec899d /loadlib.c | |
| parent | c197885cb00b85251c35cffdc4057efaee2d7a88 (diff) | |
| download | lua-09f3c2372f5dbeaec9f50614a26c1b5761726a88.tar.gz lua-09f3c2372f5dbeaec9f50614a26c1b5761726a88.tar.bz2 lua-09f3c2372f5dbeaec9f50614a26c1b5761726a88.zip | |
Option '-l' discards version sufix from file name
Like 'require', the command-line option '-l' discards an optional
version suffix (everything after an hyphen) from a file name when
creating the module name.
Diffstat (limited to 'loadlib.c')
| -rw-r--r-- | loadlib.c | 9 |
1 files changed, 0 insertions, 9 deletions
| @@ -25,15 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | /* | 27 | /* |
| 28 | ** LUA_IGMARK is a mark to ignore all before it when building the | ||
| 29 | ** luaopen_ function name. | ||
| 30 | */ | ||
| 31 | #if !defined (LUA_IGMARK) | ||
| 32 | #define LUA_IGMARK "-" | ||
| 33 | #endif | ||
| 34 | |||
| 35 | |||
| 36 | /* | ||
| 37 | ** LUA_CSUBSEP is the character that replaces dots in submodule names | 28 | ** LUA_CSUBSEP is the character that replaces dots in submodule names |
| 38 | ** when searching for a C loader. | 29 | ** when searching for a C loader. |
| 39 | ** LUA_LSUBSEP is the character that replaces dots in submodule names | 30 | ** LUA_LSUBSEP is the character that replaces dots in submodule names |
