Skip to content

Fix infinite loop in NewCommentLine - #3

Open
jmrouet wants to merge 1 commit into
jonimat:masterfrom
jmrouet:patch-2
Open

jmrouet wants to merge 1 commit into
jonimat:masterfrom
jmrouet:patch-2

Conversation

@jmrouet

@jmrouet jmrouet commented Dec 15, 2021

Copy link
Copy Markdown

Fixes an infinite loop that occur in NewCommentLine, eg on a simple file like:

/* somme non doxygen comment */
void foo(int * ptr)
{
*ptr = 0;
}

Note that we also want to avoid the completion to think "*ptr = 0;" is a comment and create a new line with a *

Fixes an infinite loop that occur in NewCommentLine, eg on a simple file like:

/* somme non doxygen comment */
void foo(int * ptr)
{
    *ptr = 0;
}

Note that we also want to avoid the completion to think "*ptr = 0;" is a comment and create a new line with a *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant