Fix End() of Rule

If a directive appears in the middle of a Rule,
the Rule does not reflect its length.
This must be reflected to obtain the correct End() position of the Rule.

Change-Id: I67a78f95487829c639b0c1414ac4cc096faa6363
This commit is contained in:
Min Yun
2024-09-03 20:36:47 +09:00
parent cdd70d268a
commit e9cc403553
3 changed files with 25 additions and 1 deletions

View File

@@ -448,6 +448,7 @@ loop:
Prerequisites: prerequisites,
Recipe: recipe,
RecipePos: recipePos,
RecipeEndPos: p.pos(),
})
}
}