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
000b6375
Commit
000b6375
authored
Apr 27, 2010
by
Roberto Raggi
Browse files
Handle unary ~ operator.
parent
d03367df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/pp-engine.cpp
View file @
000b6375
...
...
@@ -287,6 +287,10 @@ protected:
}
else
if
((
*
_lex
)
->
is
(
T_PLUS
))
{
++
(
*
_lex
);
process_primary
();
}
else
if
((
*
_lex
)
->
is
(
T_TILDE
))
{
++
(
*
_lex
);
process_primary
();
_value
.
set_long
(
~
_value
.
l
);
}
else
if
((
*
_lex
)
->
is
(
T_EXCLAIM
))
{
++
(
*
_lex
);
process_primary
();
...
...
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