Open olibre opened 8 years ago
I can remove simple comments using regex and it fixes the issue, but is this a proper way? It might be better to just integrate thirdparty for proper xml parsing (encoding, CDATA, character escaping, etc.). pugixml for example
kwstyle -v -xml KWStyle.xml ../modules/main/main.cpp
throwsstd::bad_alloc
without any print.The
KWStyle.xml
:The
strace
output: