Incorrect parsing of {$region ''}
Discovered in FPC version 3.2.2-r49371
In a {$region} tag, single quotes may be used to label the tag. eg: {$region 'label'}
If the label contains a closing brace '}' character however, the parser considers this the closing brace as the end of the region tag.
eg: {$region ' { somelabel } '}
The region tag is considered closed at the closing brace within the quoted string.
Additionally, the Lazarus IDE syntax highlights this incorrectly also.
Easy to work around, but irritating.
issue