Fix empty trailing macroclass in delimiters

Fixes bug brought up in #384