diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-21 15:55:02 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1996-03-21 15:55:02 -0300 |
| commit | 7a35f23c1688e3e24781c780e121bbdc0e4b53e1 (patch) | |
| tree | b3de8cfb741848e579385f4751f95fdc37d3a5d3 /opcode.c | |
| parent | 9284742a11b92dfe4ef011b963240cfa588515cd (diff) | |
| download | lua-7a35f23c1688e3e24781c780e121bbdc0e4b53e1.tar.gz lua-7a35f23c1688e3e24781c780e121bbdc0e4b53e1.tar.bz2 lua-7a35f23c1688e3e24781c780e121bbdc0e4b53e1.zip | |
a simplification about memory error messages.
Diffstat (limited to 'opcode.c')
| -rw-r--r-- | opcode.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3,7 +3,7 @@ | |||
| 3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
| 4 | */ | 4 | */ |
| 5 | 5 | ||
| 6 | char *rcs_opcode="$Id: opcode.c,v 3.63 1996/03/20 17:05:44 roberto Exp roberto $"; | 6 | char *rcs_opcode="$Id: opcode.c,v 3.64 1996/03/21 16:31:32 roberto Exp roberto $"; |
| 7 | 7 | ||
| 8 | #include <setjmp.h> | 8 | #include <setjmp.h> |
| 9 | #include <stdio.h> | 9 | #include <stdio.h> |
| @@ -102,7 +102,7 @@ static void growstack (void) | |||
| 102 | if (stacksize >= limit) | 102 | if (stacksize >= limit) |
| 103 | { | 103 | { |
| 104 | limit = stacksize; | 104 | limit = stacksize; |
| 105 | lua_error(luaI_memerrormsg[stackEM]); | 105 | lua_error(stackEM); |
| 106 | } | 106 | } |
| 107 | } | 107 | } |
| 108 | } | 108 | } |
