mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-359853 cleanup a condition in JavaDocLexer
GitOrigin-RevId: eba608cf3c7cbda30be4d79ae3a479ca2d614331
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a5fb18d1f
commit
ca2db9ad0a
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.java.syntax.lexer
|
||||
|
||||
import com.intellij.java.syntax.element.JavaDocSyntaxTokenType
|
||||
@@ -130,7 +130,7 @@ private class AsteriskStripperLexer(
|
||||
|
||||
val state = myFlex.yystate()
|
||||
if (state == _JavaDocLexer.COMMENT_DATA ||
|
||||
state != _JavaDocLexer.SNIPPET_TAG_BODY_DATA && myTokenEndOffset < myBufferEndOffset && (myBuffer[myTokenEndOffset] == '@' || myBuffer[myTokenEndOffset] == '{' || myBuffer[myTokenEndOffset] == '\"' || myBuffer[myTokenEndOffset] == '<')
|
||||
state != _JavaDocLexer.SNIPPET_TAG_BODY_DATA && myTokenEndOffset < myBufferEndOffset && myBuffer[myTokenEndOffset].let { it == '@' || it == '{' || it == '\"' || it == '<' }
|
||||
) {
|
||||
myFlex.yybegin(_JavaDocLexer.COMMENT_DATA_START)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user