Fixed parsing problem

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403721
This commit is contained in:
Davis King 2010-07-06 02:04:59 +00:00
parent 025c00c8dd
commit ca5de1e93e
1 changed files with 4 additions and 1 deletions

View File

@ -689,7 +689,10 @@ void process_file (
if (paren_count == 0)
{
recently_seen_paren_0 = true;
last_full_declaration = token_accum;
if (scopes.top() == 0)
{
last_full_declaration = token_accum;
}
}
recently_seen_new_scope = false;