Rewrite *p, *(p+1) as p[0], p[1] for readability.
This commit is contained in:
parent
63a55dd06c
commit
71ed0d3375
@ -485,7 +485,7 @@ parse (char *text)
|
|||||||
if (*p == '\0' || *p == '\n')
|
if (*p == '\0' || *p == '\n')
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (*p == '%' && *(p+1) == '{' && (block_end = strchr(p++, '}'))) {
|
if (p[0] == '%' && p[1] == '{' && (block_end = strchr(p++, '}'))) {
|
||||||
p++;
|
p++;
|
||||||
while (p < block_end) {
|
while (p < block_end) {
|
||||||
while (isspace(*p))
|
while (isspace(*p))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user