Commit abc6f88b authored by Davis King's avatar Davis King

Fixed the segmentation fault inducing bug I just added a moment ago.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403736
parent 4c9f2715
...@@ -682,7 +682,7 @@ void process_file ( ...@@ -682,7 +682,7 @@ void process_file (
// If the scope we are leaving is the top class on the class_stack // If the scope we are leaving is the top class on the class_stack
// then we need to either pop it into its containing class or put it // then we need to either pop it into its containing class or put it
// into the classes output vector. // into the classes output vector.
if (namespaces.back() == class_stack.top().name) if (class_stack.size() > 0 && namespaces.back() == class_stack.top().name)
{ {
// if this class is a inner_class of another then push it into the // if this class is a inner_class of another then push it into the
// public_inner_classes field of it's containing class // public_inner_classes field of it's containing class
......
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