Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8c741ede
Commit
8c741ede
authored
Dec 03, 2008
by
Roberto Raggi
Browse files
Fixed possible crash when classifying chars.
parent
d5b00aae
Changes
2
Hide whitespace changes
Inline
Side-by-side
shared/cplusplus/Lexer.cpp
View file @
8c741ede
...
...
@@ -221,7 +221,7 @@ void Lexer::scan_helper(Token *tok)
return
;
}
char
ch
=
_yychar
;
unsigned
char
ch
=
_yychar
;
yyinp
();
switch
(
ch
)
{
...
...
shared/cplusplus/Lexer.h
View file @
8c741ede
...
...
@@ -132,7 +132,7 @@ private:
const
char
*
_currentChar
;
const
char
*
_lastChar
;
const
char
*
_tokenStart
;
char
_yychar
;
unsigned
char
_yychar
;
int
_state
;
union
{
unsigned
_flags
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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