You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #472, a named or lettered designation appearing after / (e.g. I-95/NJTpk) won't get flagged LABEL_SELFREF.
Sure, it's not supposed to happen anyway, but that doesn't mean the datacheck should be skipped.
In practice there were no diffs, but still.
There are multiple ways to skin this cat, of comparable efficiency.
Consider the original approach, digit_starts pointing past the end of the string.
Compared to setting it to the beginning, it makes more sense to compare an emtpy string + the full string than the same full string twice.
Activity
yakra commentedon Nov 15, 2021
LOL this is correct but they didn't get flagged before either. Originally the last number had to be a digit to proceed.
yakra commentedon Nov 15, 2021
Comparing an empty string on a named/lettered route with a label ending in
/yields FPs.Easy enough to fix; just skip the check if the pointer's at the end.