[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Speaking of multilang...
|
>
> Hey gang,
>
> While investigating how we could best support additional languages in the
> CDT, I ran across this code in CTextTools:
>
> /** The C source code scanner */
> private CCodeScanner fCodeScanner;
> /** The C++ source code scanner */
> private CppCodeScanner fCppCodeScanner;
> /** The C partitions scanner */
> private FastCPartitionScanner fPartitionScanner;
> /** The Java multiline comment scanner */
> private CCommentScanner fMultilineCommentScanner;
> /** The Java singleline comment scanner */
> private CCommentScanner fSinglelineCommentScanner;
> /** The Java string scanner */
> private SingleTokenCScanner fStringScanner;
>
> Apparently we already have some support for Java ;-)
>
8-)
Some of the code was based on Eclipse-1.0 JDT,
so
s:Java:C/C++
The CDT code been slowly forking from the JDT over time.
But at the beginning, to make the bootstrap, lots of code
from JDT/PDE/Eclipse were cloned/copy.