Skip to content

Conversation

littlewu2508
Copy link
Contributor

This fixes a bug introduced in 2a33b49: When makeTargetinDefine ends with makeIdent, makeSpecTarget or makeComment, the following line is also matched as makeTargetinDefine.

So, add keepend to prevent that just as makeTarget does.

This fixes a bug introduced in 2a33b49:
When makeTargetinDefine ends with makeIdent, makeSpecTarget or makeComment,
the following line is also matched as makeTargetinDefine.

So, add keepend to prevent that just as makeTarget does.

Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
@littlewu2508
Copy link
Contributor Author

@rohieb Sorry for bothering again -- just catched a bug I introduced in #18403 :

When makeTargetinDefine ends with makeIdent, makeSpecTarget or makeComment, the following line is also matched as makeTargetinDefine. Here's a simple example:

orig2 orig

So I add keepend in makeTargetinDefine region, which fixes this:

new

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.

2 participants