The following syntax is allowed by ANSI:
SIGNAL ON SYNTAX NAME 'error'
Regina does not support this although the documentation states that it does.
TRL on the other hand indicates that the token after NAME can only be a symbol; not a string.
This has been fixed. Available in next release.