diff --git a/src/types.cc b/src/types.cc index acf91f5..3951a8d 100644 --- a/src/types.cc +++ b/src/types.cc @@ -2023,8 +2023,8 @@ namespace SpansReg { }; static const luaL_Reg vars_get[] = { - { "start", WRAPMEM(T, start) }, - { "end", WRAPMEM(T, end) }, + { "_start", WRAPMEM(T, start) }, + { "_end", WRAPMEM(T, end) }, { "count", WRAP(count) }, { NULL, NULL }, };