Merge remote-tracking branch 'SolitudeSF/suffix'

This commit is contained in:
Maxime Coste 2021-04-18 17:07:30 +10:00
commit e973991c49

View File

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