langtools/src/share/classes/com/sun/tools/javac/parser/DocCommentParser.java
changeset 22692 51651a2a3443
parent 22163 3651128c74eb
child 25287 d2440361b323
equal deleted inserted replaced
22691:ea96f68e3d9a 22692:51651a2a3443
     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
  1171                     switch (ch) {
  1171                     switch (ch) {
  1172                         case '"':
  1172                         case '"':
  1173                             DCText string = quotedString();
  1173                             DCText string = quotedString();
  1174                             if (string != null) {
  1174                             if (string != null) {
  1175                                 skipWhitespace();
  1175                                 skipWhitespace();
  1176                                 if (ch == '@')
  1176                                 if (ch == '@'
       
  1177                                         || ch == EOI && bp == buf.length - 1) {
  1177                                     return m.at(pos).See(List.<DCTree>of(string));
  1178                                     return m.at(pos).See(List.<DCTree>of(string));
       
  1179                                 }
  1178                             }
  1180                             }
  1179                             break;
  1181                             break;
  1180 
  1182 
  1181                         case '<':
  1183                         case '<':
  1182                             List<DCTree> html = blockContent();
  1184                             List<DCTree> html = blockContent();