From: cristy Date: Wed, 12 May 2010 12:39:46 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~9480 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd8327f9d17d538c11ec1bed595da7b6b96dcc68;p=imagemagick --- diff --git a/magick/token.c b/magick/token.c index c1505d7b6..f86b7f322 100644 --- a/magick/token.c +++ b/magick/token.c @@ -148,7 +148,8 @@ MagickExport TokenInfo *DestroyTokenInfo(TokenInfo *token_info) % GetMagickToken() gets a token from the token stream. A token is defined as a % sequence of characters delimited by whitespace (e.g. clip-path), a sequence % delimited with quotes (.e.g "Quote me"), or a sequence enclosed in -% parenthesis (e.g. rgb(0,0,0)). +% parenthesis (e.g. rgb(0,0,0)). GetMagickToken() also recognizes these +% separator characters: ':', '=', ',', and ';'. % % The format of the GetMagickToken method is: % @@ -243,7 +244,7 @@ MagickExport void GetMagickToken(const char *start,const char **end,char *token) for ( ; *p != '\0'; p++) { if (((isspace((int) ((unsigned char) *p)) != 0) || (*p == '=') || - (*p == ',') || (*p == ':')) && (*(p-1) != '\\')) + (*p == ',') || (*p == ':') || (*p == ';')) && (*(p-1) != '\\')) break; if ((i > 0) && (*p == '<')) break;