Mercurial > emacs
comparison nt/cmdproxy.c @ 36858:f6aff87320dd
(get_next_token): Fix indefinite loop bug scanning
escaped quotes.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 18 Mar 2001 16:54:35 +0000 |
parents | 2bf5c4b2cc5a |
children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
36857:f6386773ce30 | 36858:f6aff87320dd |
---|---|
156 while (1) | 156 while (1) |
157 { | 157 { |
158 if (p[0] == escape_char && escape_char != '"') | 158 if (p[0] == escape_char && escape_char != '"') |
159 { | 159 { |
160 escape_char_run++; | 160 escape_char_run++; |
161 p++; | |
161 continue; | 162 continue; |
162 } | 163 } |
163 else if (p[0] == '"') | 164 else if (p[0] == '"') |
164 { | 165 { |
165 while (escape_char_run > 1) | 166 while (escape_char_run > 1) |