Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
fbbc27be
Commit
fbbc27be
authored
Jan 29, 2010
by
Roberto Raggi
Browse files
Get rid off unused regexp QmlJSIndenter::label.
parent
206dafcd
Changes
2
Show whitespace changes
Inline
Side-by-side
src/libs/qmljs/qmljsindenter.cpp
View file @
fbbc27be
...
...
@@ -84,8 +84,7 @@ const int QmlJSIndenter::SmallRoof = 40;
const
int
QmlJSIndenter
::
BigRoof
=
400
;
QmlJSIndenter
::
QmlJSIndenter
()
:
label
(
QRegExp
(
QLatin1String
(
"^
\\
s*((?:case
\\
b([^:])+|[a-zA-Z_0-9.]+)(?:
\\
s+)?:)(?!:)"
))),
braceX
(
QRegExp
(
QLatin1String
(
"^
\\
s*
\\
}
\\
s*(?:else|catch)
\\
b"
)))
:
braceX
(
QRegExp
(
QLatin1String
(
"^
\\
s*
\\
}
\\
s*(?:else|catch)
\\
b"
)))
{
/*
...
...
src/libs/qmljs/qmljsindenter.h
View file @
fbbc27be
...
...
@@ -132,7 +132,6 @@ private:
const
int
*
yyBraceDepth
;
const
bool
*
yyLeftBraceFollows
;
QRegExp
label
;
QRegExp
braceX
;
};
...
...
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