Fixed extra return value.
This commit is contained in:
parent
32b258868c
commit
ab116d4d8f
@ -420,8 +420,12 @@ do
|
|||||||
local text_methods = {
|
local text_methods = {
|
||||||
formatted_with = format,
|
formatted_with = format,
|
||||||
byte = byte,
|
byte = byte,
|
||||||
position_of = find,
|
position_of = (function(...)
|
||||||
position_of_1_after = find,
|
return (find(...))
|
||||||
|
end),
|
||||||
|
position_of_1_after = (function(...)
|
||||||
|
return (find(...))
|
||||||
|
end),
|
||||||
as_a_lua_identifier = as_lua_id,
|
as_a_lua_identifier = as_lua_id,
|
||||||
is_a_lua_identifier = is_lua_id,
|
is_a_lua_identifier = is_lua_id,
|
||||||
as_a_lua_id = as_lua_id,
|
as_a_lua_id = as_lua_id,
|
||||||
|
@ -169,7 +169,8 @@ do
|
|||||||
string2 = require 'string2'
|
string2 = require 'string2'
|
||||||
{:lines, :line, :line_at, :as_lua_id, :is_lua_id} = string2
|
{:lines, :line, :line_at, :as_lua_id, :is_lua_id} = string2
|
||||||
text_methods =
|
text_methods =
|
||||||
formatted_with:format, byte:byte, position_of:find, position_of_1_after:find,
|
formatted_with:format, byte:byte,
|
||||||
|
position_of:((...)->(find(...))), position_of_1_after:((...)->(find(...))),
|
||||||
as_a_lua_identifier: as_lua_id, is_a_lua_identifier: is_lua_id,
|
as_a_lua_identifier: as_lua_id, is_a_lua_identifier: is_lua_id,
|
||||||
as_a_lua_id: as_lua_id, is_a_lua_id: is_lua_id,
|
as_a_lua_id: as_lua_id, is_a_lua_id: is_lua_id,
|
||||||
bytes_1_to: (start, stop)=> List{byte(tostring(@), start, stop)}
|
bytes_1_to: (start, stop)=> List{byte(tostring(@), start, stop)}
|
||||||
|
Loading…
Reference in New Issue
Block a user