From 270a0a47c4561507fd34d750a59bb1e64acb822c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 25 Sep 2021 14:53:34 -0700 Subject: Minor cleanup --- Lua/lbp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lua/lbp.c') diff --git a/Lua/lbp.c b/Lua/lbp.c index 9e5176e..592094b 100644 --- a/Lua/lbp.c +++ b/Lua/lbp.c @@ -1,8 +1,8 @@ /* * lbp.c - bp library for lua * API: -* bp.match(str, pat[, start_index]) -> nil or (match_text, start_index, match_len_in_source) -* bp.replace(str, pat, replacement, start_index) -> str with replacements +* bp.match(str, pat[, start_index]) -> nil or (match_table, start_index, input_consumed) +* bp.replace(str, pat, replacement, start_index) -> str with replacements, num_replacements */ #include @@ -23,9 +23,9 @@ #define luaL_register(L, _, R) luaL_setfuncs(L, R, 0) #endif -static const char *builtins_source = +static const char *builtins_source = ( #include "builtins.h" -; +); static int MATCH_METATABLE = 0; -- cgit v1.2.3