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
8ee2521f
Commit
8ee2521f
authored
Feb 09, 2010
by
Erik Verbruggen
Browse files
Fixed tokenizing bug.
parent
f20841ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/QtContextKeywords.cpp
View file @
8ee2521f
...
...
@@ -147,11 +147,11 @@ static inline int classify10(const char *s) {
if
(
s
[
2
]
==
'S'
)
{
if
(
s
[
3
]
==
'I'
)
{
if
(
s
[
4
]
==
'G'
)
{
if
(
s
[
0
]
==
'N'
)
{
if
(
s
[
1
]
==
'A'
)
{
if
(
s
[
2
]
==
'B'
)
{
if
(
s
[
3
]
==
'L'
)
{
if
(
s
[
4
]
==
'E'
)
{
if
(
s
[
5
]
==
'N'
)
{
if
(
s
[
6
]
==
'A'
)
{
if
(
s
[
7
]
==
'B'
)
{
if
(
s
[
8
]
==
'L'
)
{
if
(
s
[
9
]
==
'E'
)
{
return
Token_DESIGNABLE
;
}
}
...
...
@@ -168,11 +168,11 @@ static inline int classify10(const char *s) {
if
(
s
[
2
]
==
'R'
)
{
if
(
s
[
3
]
==
'I'
)
{
if
(
s
[
4
]
==
'P'
)
{
if
(
s
[
0
]
==
'T'
)
{
if
(
s
[
1
]
==
'A'
)
{
if
(
s
[
2
]
==
'B'
)
{
if
(
s
[
3
]
==
'L'
)
{
if
(
s
[
4
]
==
'E'
)
{
if
(
s
[
5
]
==
'T'
)
{
if
(
s
[
6
]
==
'A'
)
{
if
(
s
[
7
]
==
'B'
)
{
if
(
s
[
8
]
==
'L'
)
{
if
(
s
[
9
]
==
'E'
)
{
return
Token_SCRIPTABLE
;
}
}
...
...
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