diff options
| author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-10-11 11:38:17 -0300 |
|---|---|---|
| committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-10-11 11:38:17 -0300 |
| commit | ceaaa0cca8e02b102963730e8df25ac4fbe5f2dd (patch) | |
| tree | 3483f2a4299b5605f1838d5651446f6a2b0b1111 /lua.stx | |
| parent | 82ceb12b7af8411e543ac8672a4d5ad4652de0fc (diff) | |
| download | lua-ceaaa0cca8e02b102963730e8df25ac4fbe5f2dd.tar.gz lua-ceaaa0cca8e02b102963730e8df25ac4fbe5f2dd.tar.bz2 lua-ceaaa0cca8e02b102963730e8df25ac4fbe5f2dd.zip | |
Correcao do tratamento de erro reportado dentro de uma funcao.
Diffstat (limited to 'lua.stx')
| -rw-r--r-- | lua.stx | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | %{ | 1 | %{ |
| 2 | 2 | ||
| 3 | char *rcs_luastx = "$Id: lua.stx,v 2.7 1994/08/05 19:31:09 celes Exp celes $"; | 3 | char *rcs_luastx = "$Id: lua.stx,v 2.8 1994/10/11 13:02:39 celes Exp celes $"; |
| 4 | 4 | ||
| 5 | #include <stdio.h> | 5 | #include <stdio.h> |
| 6 | #include <stdlib.h> | 6 | #include <stdlib.h> |
| @@ -283,7 +283,7 @@ function : FUNCTION NAME | |||
| 283 | if (lua_debug) | 283 | if (lua_debug) |
| 284 | { | 284 | { |
| 285 | code_byte(SETFUNCTION); | 285 | code_byte(SETFUNCTION); |
| 286 | code_word(lua_nfile-1); | 286 | code_code((Byte *)lua_file[lua_nfile-1]); |
| 287 | code_word($<vWord>3); | 287 | code_word($<vWord>3); |
| 288 | } | 288 | } |
| 289 | lua_codeadjust (0); | 289 | lua_codeadjust (0); |
