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:
Davis King 2010-12-11 21:27:55 +00:00
parent 7fbe974c35
commit 42411c1bc8
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@
#include "to_xml.h"
const char* VERSION = "3.4";
const char* VERSION = "3.5";
using namespace std;
using namespace dlib;

View File

@ -803,6 +803,7 @@ void process_file (
break;
case ':':
token_accum.push_back(make_pair(type,token));
if (recently_seen_slots)
{
token_accum.clear();