From af37b8985c02dcdddbcd12d51dbfe36812514846 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Mon, 6 Oct 2008 05:40:07 +0000 Subject: [PATCH] Binary constants contributed by Thomas Holland. Bug 249698. --- .../org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java | 2 ++ .../eclipse/cdt/internal/core/parser/ParserMessages.properties | 1 + 2 files changed, 3 insertions(+) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java index 7b038dd4ae5..7751d9f3dc0 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ASTProblem.java @@ -131,6 +131,8 @@ public class ASTProblem extends ASTNode implements IASTProblem { ParserMessages.getString("ScannerProblemFactory.error.scanner.unboundedString")); //$NON-NLS-1$ errorMessages.put(new Integer(SCANNER_BAD_FLOATING_POINT), ParserMessages.getString("ScannerProblemFactory.error.scanner.badFloatingPoint")); //$NON-NLS-1$ + errorMessages.put(new Integer(SCANNER_BAD_BINARY_FORMAT), + ParserMessages.getString("ScannerProblemFactory.error.scanner.badBinaryFormat")); //$NON-NLS-1$ errorMessages.put(new Integer(SCANNER_BAD_HEX_FORMAT), ParserMessages.getString("ScannerProblemFactory.error.scanner.badHexFormat")); //$NON-NLS-1$ errorMessages.put(new Integer(SCANNER_BAD_OCTAL_FORMAT), 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 1bef08526c0..796ba36dc3f 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 @@ -41,6 +41,7 @@ ScannerProblemFactory.error.preproc.invalidVaArgs=__VA_ARGS__ can only appear in ScannerProblemFactory.error.scanner.invalidEscapeChar=Invalid escape character encountered ScannerProblemFactory.error.scanner.unboundedString=Unbounded string encountered ScannerProblemFactory.error.scanner.badFloatingPoint=Invalid floating point format encountered +ScannerProblemFactory.error.scanner.badBinaryFormat=Invalid binary format encountered ScannerProblemFactory.error.scanner.badHexFormat=Invalid hexadecimal format encountered ScannerProblemFactory.error.scanner.badOctalFormat=Invalid octal format encountered ScannerProblemFactory.error.scanner.badDecimalFormat=Invalid decimal format encountered