It is easy to identify extra '}' in the .c source, compiler
points us to the exact line. Rarely, I have the opposite error,
the extra '{' somewhere in the source. For example
                int foo() {
                {
                      ....
                 }
In this case, gcc points me to the end of file. This is not helpful.
Can anyone suggest quick method of finding the function
that contains extra '{' brace ?

Thanks
Yakov

Reply via email to