diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-30 16:48:08 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-06-30 16:48:08 -0300 |
| commit | b9dcf9974d4dbff3ca28ff618259e277cb0090ea (patch) | |
| tree | 66b903add6a56545bb50fda02d33baab24ba44d5 /lua.c | |
| parent | a77d263e86feea55529800028f960d7124c1385f (diff) | |
| download | lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.tar.gz lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.tar.bz2 lua-b9dcf9974d4dbff3ca28ff618259e277cb0090ea.zip | |
detail (typos in comments)
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.211 2014/06/05 20:42:06 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.212 2014/06/26 17:08:52 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -115,7 +115,7 @@ static void lstop (lua_State *L, lua_Debug *ar) { | |||
| 115 | 115 | ||
| 116 | /* | 116 | /* |
| 117 | ** Function to be called at a C signal. Because a C signal cannot | 117 | ** Function to be called at a C signal. Because a C signal cannot |
| 118 | ** just change a Lua state (as there is no proper syncronization), | 118 | ** just change a Lua state (as there is no proper synchronization), |
| 119 | ** this function only sets a hook that, when called, will stop the | 119 | ** this function only sets a hook that, when called, will stop the |
| 120 | ** interpreter. | 120 | ** interpreter. |
| 121 | */ | 121 | */ |
| @@ -284,7 +284,7 @@ static const char *get_prompt (lua_State *L, int firstline) { | |||
| 284 | /* | 284 | /* |
| 285 | ** Check whether 'status' signals a syntax error and the error | 285 | ** Check whether 'status' signals a syntax error and the error |
| 286 | ** message at the top of the stack ends with the above mark for | 286 | ** message at the top of the stack ends with the above mark for |
| 287 | ** incoplete statements. | 287 | ** incomplete statements. |
| 288 | */ | 288 | */ |
| 289 | static int incomplete (lua_State *L, int status) { | 289 | static int incomplete (lua_State *L, int status) { |
| 290 | if (status == LUA_ERRSYNTAX) { | 290 | if (status == LUA_ERRSYNTAX) { |
