Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
02566cc9
Commit
02566cc9
authored
Sep 08, 2011
by
Davis King
Browse files
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
+1
-1
No files found.
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
View file @
02566cc9
...
...
@@ -511,7 +511,7 @@ namespace dlib
(
temp
.
size
()
>
1
&&
temp
[
temp
.
size
()
-
2
]
==
'\\'
)
))
{
buffer_token
(
DOUBLE_QUOTED_TEXT
,
temp
);
buffer_token
(
OTHER
,
'"'
);
buffer_token
(
OTHER
,
"
\"
"
);
break
;
}
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment