From: Karen Etheridge Date: Sun, 22 Dec 2019 18:10:16 +0000 (-0800) Subject: fix compilation warning X-Git-Tag: v0.006_021~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e2897934669141b881472964d3e08a87cf083de;p=p5sagit%2FDevel-Declare.git fix compilation warning "./stolen_chunk_of_toke.c:1014:27: warning: '&&' within '||' [-Wlogical-op-parentheses]" --- diff --git a/stolen_chunk_of_toke.c b/stolen_chunk_of_toke.c index 038a91c..95e2839 100644 --- a/stolen_chunk_of_toke.c +++ b/stolen_chunk_of_toke.c @@ -1010,8 +1010,8 @@ S_scan_ident(pTHX_ register char *s, register const char *send, char *dest, STRL d++; if (UTF) { e = s; - while ( ( e < send - && isIDFIRST_utf8_safe(e, send) + while ( (( e < send + && isIDFIRST_utf8_safe(e, send)) || *e == ':')) { e += UTF8SKIP(e);