src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java

changeset 2268
b4e592c5314d
parent 2204
a78f51d6bd5e
child 2413
fe033d997ddf
equal deleted inserted replaced
2267:3b9176029091 2268:b4e592c5314d
1 /* 1 /*
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
1170 switch (ch) { 1170 switch (ch) {
1171 case '"': 1171 case '"':
1172 DCText string = quotedString(); 1172 DCText string = quotedString();
1173 if (string != null) { 1173 if (string != null) {
1174 skipWhitespace(); 1174 skipWhitespace();
1175 if (ch == '@') 1175 if (ch == '@'
1176 || ch == EOI && bp == buf.length - 1) {
1176 return m.at(pos).See(List.<DCTree>of(string)); 1177 return m.at(pos).See(List.<DCTree>of(string));
1178 }
1177 } 1179 }
1178 break; 1180 break;
1179 1181
1180 case '<': 1182 case '<':
1181 List<DCTree> html = blockContent(); 1183 List<DCTree> html = blockContent();

mercurial