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
298b6ac5
Commit
298b6ac5
authored
Jun 19, 2009
by
Roberto Raggi
Browse files
Oops, restore the value of blockErrors()
parent
920880eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Parser.cpp
View file @
298b6ac5
...
...
@@ -2932,9 +2932,9 @@ bool Parser::parseNameId(NameAST *&name)
unsigned
saved
=
cursor
();
ExpressionAST
*
expr
=
0
;
bool
blocked
=
blockErrors
(
true
);
if
(
parseCastExpression
(
expr
)
)
{
(
void
)
blockErrors
(
blocked
);
bool
lookAtCastExpression
=
parseCastExpression
(
expr
)
;
(
void
)
blockErrors
(
blocked
);
if
(
lookAtCastExpression
)
{
if
(
CastExpressionAST
*
cast_expression
=
expr
->
asCastExpression
())
{
if
(
cast_expression
->
lparen_token
&&
cast_expression
->
rparen_token
&&
cast_expression
->
type_id
&&
cast_expression
->
expression
)
{
...
...
Write
Preview
Supports
Markdown
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