tokenize: Fix wrong string index in indirect strings

At moment of calling the nasm_skip_string the string pointer
is already incremented which makes tokenize fail on correct
indirect strings.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2010-07-13 13:32:19 +04:00
parent 15bdc51187
commit c6360a757b

View File

@ -893,7 +893,7 @@ static Token *tokenize(char *line)
case '\'':
case '\"':
case '`':
p = nasm_skip_string(p)+1;
p = nasm_skip_string(p - 1) + 1;
break;
default:
break;