mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Patch From Thomas Fletcher to add some C/C++ directives.
This commit is contained in:
parent
f076b37dfa
commit
45377a0e86
3 changed files with 12 additions and 2 deletions
|
@ -1,5 +1,15 @@
|
|||
2002-10-11 Alain Magloire
|
||||
|
||||
* internal/ui/text/CCodeScanner.java:
|
||||
* internal/ui/text/CppCodeScanner.java:
|
||||
This updates the C/C++ scanner to include some missing
|
||||
pre-processor pieces.
|
||||
From Thomas Fletcher.
|
||||
|
||||
2002-10-11 Alain Magloire
|
||||
|
||||
* CEditorTextHoverDispatcher.java (getCurrentTextHover):
|
||||
This fixes a null pointer exception received when we hover
|
||||
over the code in the C/C++ Editor colour preference dialog.
|
||||
From Thomas Fletcher.
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public final class CCodeScanner extends AbstractCScanner {
|
|||
|
||||
private static String[] fgTypes= { "char", "double", "float", "int", "long", "short", "signed", "unsigned", "void", "_Bool", "_Complex", "_Imaginary"};
|
||||
private static String[] fgConstants= { "NULL", "__DATE__", "__LINE__", "__TIME__", "__FILE__", "__STDC__"};
|
||||
private static String[] fgPreprocessor= { "#define", "#include", "#error", "#pragma", "#ifdef", "#ifndef", "#if", "#else", "#elif", "#endif", "#line"};
|
||||
private static String[] fgPreprocessor= { "#define", "#undef", "#include", "#error", "#warning", "#pragma", "#ifdef", "#ifndef", "#if", "#else", "#elif", "#endif", "#line"};
|
||||
|
||||
|
||||
private static String[] fgTokenProperties= {
|
||||
|
|
|
@ -164,7 +164,7 @@ public final class CppCodeScanner extends AbstractCScanner {
|
|||
|
||||
private static String[] fgTypes= { "bool", "char", "double", "float", "int", "long", "short", "signed", "unsigned", "void", "wchar_t", "_Bool", "_Complex", "_Imaginary"};
|
||||
private static String[] fgConstants= { "false", "NULL", "true", "__DATE__", "__LINE__", "__TIME__", "__FILE__", "__STDC__"};
|
||||
private static String[] fgPreprocessor= { "#define", "#include", "#error", "#pragma", "#ifdef", "#ifndef", "#line", "#undef", "#if", "#else", "#elif", "#endif"};
|
||||
private static String[] fgPreprocessor= { "#define", "#undef", "#include", "#error", "#warning", "#pragma", "#ifdef", "#ifndef", "#line", "#undef", "#if", "#else", "#elif", "#endif"};
|
||||
|
||||
|
||||
private static String[] fgTokenProperties= {
|
||||
|
|
Loading…
Add table
Reference in a new issue