Bug 513674: Formatter chokes on token 'base' in import declaration
diff --git a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
index f2967c9..a9dd48b 100644
--- a/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
+++ b/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java
@@ -351,6 +351,10 @@
 		this.tokens.clear();
 		Scanner scanner = new Scanner(true, false, false/* nls */, CompilerOptions.versionToJdkLevel(this.sourceLevel),
 				null/* taskTags */, null/* taskPriorities */, false/* taskCaseSensitive */);
+//{ObjectTeams: allow scoped keywords:
+		scanner.parseOTJonly = false;
+		scanner.parsePureJavaOnly = false;
+// SH}
 		scanner.setSource(this.sourceArray);
 		while (true) {
 			try {