diff options
Diffstat (limited to '')
| -rw-r--r-- | llex.c | 7 |
1 files changed, 1 insertions, 6 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: llex.c,v 1.118 2003/02/28 17:19:47 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.119 2003/03/24 12:39:34 roberto Exp roberto $ |
| 3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -125,11 +125,6 @@ void luaX_setinput (lua_State *L, LexState *LS, ZIO *z, TString *source) { | |||
| 125 | LS->lastline = 1; | 125 | LS->lastline = 1; |
| 126 | LS->source = source; | 126 | LS->source = source; |
| 127 | next(LS); /* read first char */ | 127 | next(LS); /* read first char */ |
| 128 | if (LS->current == '#') { | ||
| 129 | do { /* skip first line */ | ||
| 130 | next(LS); | ||
| 131 | } while (LS->current != '\n' && LS->current != EOZ); | ||
| 132 | } | ||
| 133 | } | 128 | } |
| 134 | 129 | ||
| 135 | 130 | ||
