This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, haberg at matematik dot su dot se
- Cc: gcc at gcc dot gnu dot org, help-bison at gnu dot org
- Date: Mon, 20 May 2002 21:26:16 -0400 (EDT)
- Subject: Re: gcc compile-time performance
<<The problem in C++ is that if one say mistypes say a class name in its
definition, a lot of subsequent code becomes meaningless to the compiler to
catch: The context information that it is a class name is lost. Catching a
missed "}" is a relatively simple problem to that as the meaning of "{"
does not change with context (like the language type that a name belongs
to).
>>
Certainly one should do nearest spelling error correction in such cases, that
can definitely help.