diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-08 17:22:08 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-08 17:22:08 -0300 |
| commit | 44752fc9ce2588a9b402d335c87660a9ee28a157 (patch) | |
| tree | 824f78c6256f46d25dbeab117a5bfcca0bbfb67a /ldblib.c | |
| parent | 39b2d58c39fd0cd554b27ed071926bc439338964 (diff) | |
| download | lua-44752fc9ce2588a9b402d335c87660a9ee28a157.tar.gz lua-44752fc9ce2588a9b402d335c87660a9ee28a157.tar.bz2 lua-44752fc9ce2588a9b402d335c87660a9ee28a157.zip | |
hook count is quadratic
Diffstat (limited to 'ldblib.c')
| -rw-r--r-- | ldblib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldblib.c,v 1.61 2002/06/25 19:16:44 roberto Exp roberto $ | 2 | ** $Id: ldblib.c,v 1.62 2002/07/08 18:21:33 roberto Exp roberto $ |
| 3 | ** Interface from Lua to its debug API | 3 | ** Interface from Lua to its debug API |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -132,7 +132,7 @@ static int makemask (const char *smask, int count) { | |||
| 132 | if (strchr(smask, 'c')) mask |= LUA_MASKCALL; | 132 | if (strchr(smask, 'c')) mask |= LUA_MASKCALL; |
| 133 | if (strchr(smask, 'r')) mask |= LUA_MASKRET; | 133 | if (strchr(smask, 'r')) mask |= LUA_MASKRET; |
| 134 | if (strchr(smask, 'l')) mask |= LUA_MASKLINE; | 134 | if (strchr(smask, 'l')) mask |= LUA_MASKLINE; |
| 135 | return mask | lua_maskcount(count); | 135 | return mask | LUA_MASKCOUNT(count); |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | 138 | ||
