Commit fbbc27be authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Get rid off unused regexp QmlJSIndenter::label.

parent 206dafcd
...@@ -84,8 +84,7 @@ const int QmlJSIndenter::SmallRoof = 40; ...@@ -84,8 +84,7 @@ const int QmlJSIndenter::SmallRoof = 40;
const int QmlJSIndenter::BigRoof = 400; const int QmlJSIndenter::BigRoof = 400;
QmlJSIndenter::QmlJSIndenter() 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")))
{ {
/* /*
......
...@@ -132,7 +132,6 @@ private: ...@@ -132,7 +132,6 @@ private:
const int *yyBraceDepth; const int *yyBraceDepth;
const bool *yyLeftBraceFollows; const bool *yyLeftBraceFollows;
QRegExp label;
QRegExp braceX; QRegExp braceX;
}; };
......
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