Yakov Lerner schrieb:
> 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 ?  
Go to the end of the file (G) and use [{ to find the previos unmatched
left brace.

:help [{

Reply via email to