another bug fix
This commit is contained in:
@@ -151,7 +151,7 @@ static Token *tokenize(Source *src, BPAlloc *alloc, Error *error)
|
||||
while(i < len && isspace(str[i]))
|
||||
i += 1;
|
||||
|
||||
if(str[i] == '#')
|
||||
if(i < len && str[i] == '#')
|
||||
{
|
||||
i += 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user