diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-07-13 13:32:19 +0400 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2010-07-13 21:17:16 +0400 |
commit | c6360a757b8c4284e416aa8025352045cffbf743 (patch) | |
tree | 8fd9557aee1723e88585d39de4c792dd7c18c5f9 /preproc.c | |
parent | 15bdc51187d32b8dd34e7809bc6944ff4778d1bb (diff) | |
download | nasm-c6360a757b8c4284e416aa8025352045cffbf743.tar.gz |
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>
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |