Commit ca5de1e9 authored by Davis King's avatar Davis King

Fixed parsing problem

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403721
parent 025c00c8
...@@ -689,7 +689,10 @@ void process_file ( ...@@ -689,7 +689,10 @@ void process_file (
if (paren_count == 0) if (paren_count == 0)
{ {
recently_seen_paren_0 = true; recently_seen_paren_0 = true;
last_full_declaration = token_accum; if (scopes.top() == 0)
{
last_full_declaration = token_accum;
}
} }
recently_seen_new_scope = false; recently_seen_new_scope = false;
......
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