rc nim: update suffix spec

This commit is contained in:
SolitudeSF 2021-03-24 17:11:26 +02:00
parent c507863a00
commit fe66b8a390
No known key found for this signature in database
GPG Key ID: 789B06817C385387

View File

@ -51,8 +51,10 @@ evaluate-commands %sh{
# Grammar # Grammar
opchars='[=+-/<>@$~&%|!?^.:\\*]' opchars='[=+-/<>@$~&%|!?^.:\\*]'
opnocol='[=+-/<>@$~&%|!?^.\\*]' opnocol='[=+-/<>@$~&%|!?^.\\*]'
suffix="('?([iIuU](8|16|32|64)|[fF](32|64)?|[dDuU]|[fF]))?" letter='A-Za-z\u000080-\u10FFFF'
floatsuffix="('?([fF](32|64)?|[dD]|[fF]))?" customsuffix="'[${letter}](_?[${letter}0-9])*"
suffix="(${customsuffix}|[iIuU](8|16|32|64)|[fF](32|64)?|[dDuU])?"
floatsuffix="(${customsuffix}|[fF](32|64)?|[dD])?"
hexdigit='[0-9a-fA-F]' hexdigit='[0-9a-fA-F]'
octdigit='[0-7]' octdigit='[0-7]'
bindigit='[01]' bindigit='[01]'