Comment that anonymous labels internally start with '!'

`startsIdentifier` should not accept this character so
anonymous labels won't conflict with nonymous ones.
This commit is contained in:
Rangi
2021-05-15 12:57:22 -04:00
parent aa02958e18
commit 23721694ea

View File

@@ -1307,6 +1307,7 @@ static uint32_t readGfxConstant(void)
static bool startsIdentifier(int c)
{
// Anonymous labels internally start with '!'
return (c <= 'Z' && c >= 'A') || (c <= 'z' && c >= 'a') || c == '.' || c == '_';
}