Fix ptexts containing asterisks

This commit is contained in:
Petr Kraus 2017-12-17 02:14:33 +01:00
parent 2f5bc66d7a
commit af6f7ed4bc
2 changed files with 4 additions and 4 deletions

View File

@ -392,9 +392,9 @@ include::../../api/structs/VkDisplayPlaneCapabilitiesKHR.txt[]
this plane using the specified mode.
* pname:minDstPosition, pname:maxDstPosition, pname:minDstExtent,
pname:maxDstExtent all have similar semantics to their corresponding
ptext:Src* equivalents, but apply to the output region within the mode
ptext:*Src* equivalents, but apply to the output region within the mode
rather than the input region within the source image.
Unlike the ptext:Src* offsets, pname:minDstPosition and
Unlike the ptext:*Src* offsets, pname:minDstPosition and
pname:maxDstPosition may: contain negative values.
The minimum and maximum position and extent fields describe the hardware

View File

@ -169,12 +169,12 @@ end
class PnameInlineMacro < ParamInlineMacroBase
named :pname
match /pname:((\w[\w.]*)*\w+)/
match /pname:(\w+(\.\w+)*)/
end
class PtextInlineMacro < ParamInlineMacroBase
named :ptext
match /ptext:((\w[\w.]*)*\w+)/
match /ptext:([\w\*]+(\.[\w\*]+)*)/
end
class DnameInlineMacro < CodeInlineMacroBase