Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2004-10-13 16:03:32 -0400
committerJohn Camelon2004-10-13 16:03:32 -0400
commit19ffaa04f2b230e0f17600fdd302594b6781c07e (patch)
treef1d095fcc156c50145e6e85787b7088d63924cc3 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties
parentc555ac79f6cc31ca3c85963134e18a8dbf0cc6ae (diff)
downloadorg.eclipse.cdt-19ffaa04f2b230e0f17600fdd302594b6781c07e.tar.gz
org.eclipse.cdt-19ffaa04f2b230e0f17600fdd302594b6781c07e.tar.xz
org.eclipse.cdt-19ffaa04f2b230e0f17600fdd302594b6781c07e.zip
Patch for Devin Steffler
Fixed 75532 [Scanner] Wrong compare if the two declarations are in other number system. - Octal support has been added along side Hex support in ExpressionEvaluator.java. - SourceIndexerRequestor.java now handles IProblem.SCANNER_RELATED IProblems - IProblems can now be thrown easily from ExpressionEvaluator.java - IProblems are reported for malformed Decimal/Hex/Octal numbers as well as the existing EvalExceptions that occur in ExpressionEvaluator.java - tests were added to check Octal support and that the IProblems are raised properly within ExpressionEvaluator.java
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties
index 2a8dfb73fd2..206193f5913 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ParserMessages.properties
@@ -38,6 +38,14 @@ ScannerProblemFactory.error.scanner.invalidEscapeChar=Invalid escape character e
ScannerProblemFactory.error.scanner.unboundedString=Unbounded string encountered
ScannerProblemFactory.error.scanner.badFloatingPoint=Invalid floating point format encountered
ScannerProblemFactory.error.scanner.badHexFormat=Invalid hexidecimal format encountered
+ScannerProblemFactory.error.scanner.badOctalFormat=Invalid octal format encountered
+ScannerProblemFactory.error.scanner.badDecimalFormat=Invalid decimal format encountered
+ScannerProblemFactory.error.scanner.assignmentNotAllowed=Assignment not allowed
+ScannerProblemFactory.error.scanner.divideByZero=Division by zero not allowed
+ScannerProblemFactory.error.scanner.missingRParen=Missing right parenthesis )
+ScannerProblemFactory.error.scanner.expressionSyntaxError=Expression syntax error
+ScannerProblemFactory.error.scanner.illegalIdentifier=Illegal identifier in defined()
+ScannerProblemFactory.error.scanner.badConditionalExpression=Bad conditional expression
ScannerProblemFactory.error.scanner.unexpectedEOF=Unexpected End Of File encountered
ScannerProblemFactory.error.scanner.badCharacter=Bad character sequence encountered : {0}

Back to the top