Merge pull request #647 from krOoze/fix_ptext_asterisk

Fix ptexts containing asterisks
This commit is contained in:
Jon Leech 2018-01-04 17:52:17 -08:00 committed by GitHub
commit 1d38929270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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. this plane using the specified mode.
* pname:minDstPosition, pname:maxDstPosition, pname:minDstExtent, * pname:minDstPosition, pname:maxDstPosition, pname:minDstExtent,
pname:maxDstExtent all have similar semantics to their corresponding 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. 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. pname:maxDstPosition may: contain negative values.
The minimum and maximum position and extent fields describe the hardware The minimum and maximum position and extent fields describe the hardware

View File

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