Silence a warning.
git-svn-id: http://root.cern.ch/svn/root/trunk@47654 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
63ea4e20db
commit
b497a0b37a
@ -26,13 +26,14 @@ namespace cling {
|
|||||||
|
|
||||||
// If there is " or ' we don't need to look for balancing until we
|
// If there is " or ' we don't need to look for balancing until we
|
||||||
// enounter matching " or '
|
// enounter matching " or '
|
||||||
if (kind >= (int)tok::quote && kind <= (int)tok::apostrophe)
|
if (kind >= (int)tok::quote && kind <= (int)tok::apostrophe) {
|
||||||
if (m_ParenStack.empty())
|
if (m_ParenStack.empty())
|
||||||
m_ParenStack.push(kind);
|
m_ParenStack.push(kind);
|
||||||
else if (m_ParenStack.top() == kind)
|
else if (m_ParenStack.top() == kind)
|
||||||
m_ParenStack.pop();
|
m_ParenStack.pop();
|
||||||
else
|
else
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// In case when we need closing brace.
|
// In case when we need closing brace.
|
||||||
if (kind >= (int)tok::l_square && kind <= (int)tok::r_brace) {
|
if (kind >= (int)tok::l_square && kind <= (int)tok::r_brace) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user