Commit 02566cc9 authored by Davis King's avatar Davis King

Fixed a bug in the cpp_tokenizer that only shows up on newer versions of

gcc.  It wasn't tokenizing double quoted strings right.
parent e6513686
...@@ -511,7 +511,7 @@ namespace dlib ...@@ -511,7 +511,7 @@ namespace dlib
(temp.size() > 1 && temp[temp.size()-2] == '\\') )) (temp.size() > 1 && temp[temp.size()-2] == '\\') ))
{ {
buffer_token(DOUBLE_QUOTED_TEXT,temp); buffer_token(DOUBLE_QUOTED_TEXT,temp);
buffer_token(OTHER,'"'); buffer_token(OTHER,"\"");
break; break;
} }
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment