src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavadocTokenizer.java
changeset 48423 35cf3c947420
parent 47216 71c04702a3d5
equal deleted inserted replaced
48422:cafc0ddb8db3 48423:35cf3c947420
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2018, 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
   392                              // If a double backslash was found, write two
   392                              // If a double backslash was found, write two
   393                              if (comment_reader.isDoubleBackslash()) {
   393                              if (comment_reader.isDoubleBackslash()) {
   394                                  comment_reader.putChar('\\', false);
   394                                  comment_reader.putChar('\\', false);
   395                              }
   395                              }
   396                              comment_reader.scanCommentChar();
   396                              comment_reader.scanCommentChar();
       
   397                              break;
   397                          case ' ':
   398                          case ' ':
   398                          case '\t':
   399                          case '\t':
   399                              comment_reader.putChar(comment_reader.ch, false);
   400                              comment_reader.putChar(comment_reader.ch, false);
   400                              comment_reader.scanCommentChar();
   401                              comment_reader.scanCommentChar();
   401                              break;
   402                              break;