View | Details | Raw Unified | Return to bug 231796
Collapse All | Expand All

(-)workspace/FormatterJavadoc/test/wksp/eclipse/out/dont_indent_descr/X30.java (-1 / +2 lines)
Lines 10-16 Link Here
10
	 *        the resource to check for errors
10
	 *        the resource to check for errors
11
	 * @return <code>true</code> if the resource (and its children) are error
11
	 * @return <code>true</code> if the resource (and its children) are error
12
	 *         free
12
	 *         free
13
	 * @throws import org.eclipse.core.runtime.CoreException if there's a marker
13
	 * @throws import
14
	 *         org.eclipse.core.runtime.CoreException if there's a marker
14
	 *         problem
15
	 *         problem
15
	 */
16
	 */
16
	void foo() {
17
	void foo() {
(-)workspace/FormatterJavadoc/test/wksp/eclipse/out/default/X30.java (-2 / +3 lines)
Lines 10-17 Link Here
10
	 *            the resource to check for errors
10
	 *            the resource to check for errors
11
	 * @return <code>true</code> if the resource (and its children) are error
11
	 * @return <code>true</code> if the resource (and its children) are error
12
	 *         free
12
	 *         free
13
	 * @throws import org.eclipse.core.runtime.CoreException if there's a marker
13
	 * @throws import
14
	 *         problem
14
	 *             org.eclipse.core.runtime.CoreException if there's a marker
15
	 *             problem
15
	 */
16
	 */
16
	void foo() {
17
	void foo() {
17
	}
18
	}
(-)workspace/FormatterJavadoc/test/wksp/eclipse/out/dont_indent_tags/X30.java (-2 / +2 lines)
Lines 10-17 Link Here
10
	 * the resource to check for errors
10
	 * the resource to check for errors
11
	 * @return <code>true</code> if the resource (and its children) are error
11
	 * @return <code>true</code> if the resource (and its children) are error
12
	 * free
12
	 * free
13
	 * @throws import org.eclipse.core.runtime.CoreException if there's a marker
13
	 * @throws import
14
	 * problem
14
	 * org.eclipse.core.runtime.CoreException if there's a marker problem
15
	 */
15
	 */
16
	void foo() {
16
	void foo() {
17
	}
17
	}
(-)compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java (-15 / +54 lines)
Lines 1022-1043 Link Here
1022
					consumeToken();
1022
					consumeToken();
1023
					break;
1023
					break;
1024
1024
1025
				case TerminalTokens.TokenNamevoid :
1025
				case TerminalTokens.TokenNameabstract:
1026
				case TerminalTokens.TokenNameboolean :
1026
				case TerminalTokens.TokenNameassert:
1027
				case TerminalTokens.TokenNamebyte :
1027
				case TerminalTokens.TokenNameboolean:
1028
				case TerminalTokens.TokenNamechar :
1028
				case TerminalTokens.TokenNamebreak:
1029
				case TerminalTokens.TokenNamedouble :
1029
				case TerminalTokens.TokenNamebyte:
1030
				case TerminalTokens.TokenNamefloat :
1030
				case TerminalTokens.TokenNamecase:
1031
				case TerminalTokens.TokenNameint :
1031
				case TerminalTokens.TokenNamecatch:
1032
				case TerminalTokens.TokenNamelong :
1032
				case TerminalTokens.TokenNamechar:
1033
				case TerminalTokens.TokenNameshort :
1033
				case TerminalTokens.TokenNameclass:
1034
					if (iToken > 0) {
1034
				case TerminalTokens.TokenNamecontinue:
1035
						throw new InvalidInputException();
1035
				case TerminalTokens.TokenNamedefault:
1036
				case TerminalTokens.TokenNamedo:
1037
				case TerminalTokens.TokenNamedouble:
1038
				case TerminalTokens.TokenNameelse:
1039
				case TerminalTokens.TokenNameextends:
1040
				case TerminalTokens.TokenNamefalse:
1041
				case TerminalTokens.TokenNamefinal:
1042
				case TerminalTokens.TokenNamefinally:
1043
				case TerminalTokens.TokenNamefloat:
1044
				case TerminalTokens.TokenNamefor:
1045
				case TerminalTokens.TokenNameif:
1046
				case TerminalTokens.TokenNameimplements:
1047
				case TerminalTokens.TokenNameimport:
1048
				case TerminalTokens.TokenNameinstanceof:
1049
				case TerminalTokens.TokenNameint:
1050
				case TerminalTokens.TokenNameinterface:
1051
				case TerminalTokens.TokenNamelong:
1052
				case TerminalTokens.TokenNamenative:
1053
				case TerminalTokens.TokenNamenew:
1054
				case TerminalTokens.TokenNamenull:
1055
				case TerminalTokens.TokenNamepackage:
1056
				case TerminalTokens.TokenNameprivate:
1057
				case TerminalTokens.TokenNameprotected:
1058
				case TerminalTokens.TokenNamepublic:
1059
				case TerminalTokens.TokenNameshort:
1060
				case TerminalTokens.TokenNamestatic:
1061
				case TerminalTokens.TokenNamestrictfp:
1062
				case TerminalTokens.TokenNamesuper:
1063
				case TerminalTokens.TokenNameswitch:
1064
				case TerminalTokens.TokenNamesynchronized:
1065
				case TerminalTokens.TokenNamethis:
1066
				case TerminalTokens.TokenNamethrow:
1067
				case TerminalTokens.TokenNametransient:
1068
				case TerminalTokens.TokenNametrue:
1069
				case TerminalTokens.TokenNametry:
1070
				case TerminalTokens.TokenNamevoid:
1071
				case TerminalTokens.TokenNamevolatile:
1072
				case TerminalTokens.TokenNamewhile:
1073
					if (iToken == 0) {
1074
						pushIdentifier(true, true);
1075
						primitiveToken = token;
1076
						consumeToken();
1077
						break nextToken;
1036
					}
1078
					}
1037
					pushIdentifier(true, false);
1079
					// Fall through default case to verify that we do not leave on a dot
1038
					primitiveToken = token;
1039
					consumeToken();
1040
					break nextToken;
1041
1080
1042
				default :
1081
				default :
1043
					if (iToken == 0) {
1082
					if (iToken == 0) {

Return to bug 231796