mirror of
https://gitea.psi.ch/ELOG/mxml.git
synced 2026-09-09 01:23:22 +00:00
code cleanup
This commit is contained in:
parent
fdfe3d2413
commit
641d48e06a
2
mxml.c
2
mxml.c
@ -1423,7 +1423,7 @@ PMXML_NODE mxml_parse_buffer(const char *buf, char *error, int error_size)
|
|||||||
return read_error(HERE, "Unexpected end of file");
|
return read_error(HERE, "Unexpected end of file");
|
||||||
if (*p != '\"' && *p != '\'')
|
if (*p != '\"' && *p != '\'')
|
||||||
return read_error(HERE, "Expect \" or \' here");
|
return read_error(HERE, "Expect \" or \' here");
|
||||||
quote = *p;
|
quote = *p;
|
||||||
p++;
|
p++;
|
||||||
|
|
||||||
/* extract attribute value */
|
/* extract attribute value */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user