3 ms·
Perhaps noise and wasted compile attempts could be reduced by having a simple counting mechanism for {}, (), and []. This wouldn't be correct if the program use
by not2b 3y ago
Perhaps noise and wasted compile attempts could be reduced by having a simple counting mechanism for {}, (), and []. This wouldn't be correct if the program uses macros with unbalanced characters, but that's rare, so I suppose it would suffice to allow the user to turn it off.
So a compile wouldn't be attempted if there are obvious unbalanced braces.