mirror of https://github.com/davisking/dlib.git
Fixed a bug in the to-xml option. It wasn't dealing with : characters properly.
I think this bug was introduced when I added support for dealing with Qt's signal: and slot: constructs. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403965
This commit is contained in:
parent
7fbe974c35
commit
42411c1bc8
|
@ -11,7 +11,7 @@
|
||||||
#include "to_xml.h"
|
#include "to_xml.h"
|
||||||
|
|
||||||
|
|
||||||
const char* VERSION = "3.4";
|
const char* VERSION = "3.5";
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace dlib;
|
using namespace dlib;
|
||||||
|
|
|
@ -803,6 +803,7 @@ void process_file (
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ':':
|
case ':':
|
||||||
|
token_accum.push_back(make_pair(type,token));
|
||||||
if (recently_seen_slots)
|
if (recently_seen_slots)
|
||||||
{
|
{
|
||||||
token_accum.clear();
|
token_accum.clear();
|
||||||
|
|
Loading…
Reference in New Issue